Permalink
Browse files

improved the anchor generator a bit: now also convert "&" to "and".

  • Loading branch information...
agentzh committed Mar 11, 2013
1 parent 0dea7ca commit 164c6a72ab02937f8bdb5819e1bec60dfcb4bee7
Showing with 1 addition and 0 deletions.
  1. +1 −0 utils/wiki2html-en.pl
View
@@ -266,6 +266,7 @@ sub quote_anchor {
my $id = shift;
for ($id) {
s/\$/dollar/g;
+ s/\&/and/g;
s/[^-\w.]/-/g;
s/--+/-/g;
s/^-+|-+$//g;

0 comments on commit 164c6a7

Please sign in to comment.