From: Michal Vaner Date: Sun, 15 Feb 2009 11:02:44 +0000 (+0100) Subject: doc. system: Escape hashes and underscores X-Git-Tag: holmes-import~77 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c18d314fb12f3a629434b6da309a47ba16324c08;p=libucw.git doc. system: Escape hashes and underscores They were not properly escaped in symbol list, asciidoc did something odd to them. --- diff --git a/build/doc-defs b/build/doc-defs index a7f77d1b..8e398250 100755 --- a/build/doc-defs +++ b/build/doc-defs @@ -57,7 +57,7 @@ foreach( sort { ( $groups{$a->[2]} <=> $groups{$b->[2]} ) or ( $a->[3] cmp $b->[ $file = $dircp."/".$file; $file =~ s/^\///; $file =~ s/\.[^.]+$//; - $text =~ s/(\.\.\.|\*|')/\\$1/g; + $text =~ s/(\.\.\.|\*|'|#|_)/\\$1/g; print OUT "<<$file:$anchor,`$name`>>:: `$text`\n"; }