Skip to content

Commit 164c6a7

Browse files
committed
improved the anchor generator a bit: now also convert "&" to "and".
1 parent 0dea7ca commit 164c6a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/wiki2html-en.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ sub quote_anchor {
266266
my $id = shift;
267267
for ($id) {
268268
s/\$/dollar/g;
269+
s/\&/and/g;
269270
s/[^-\w.]/-/g;
270271
s/--+/-/g;
271272
s/^-+|-+$//g;

0 commit comments

Comments
 (0)