From: Michal Vaner Date: Sun, 28 Sep 2008 13:40:46 +0000 (+0200) Subject: Doc. system: escape apostrophes in def list X-Git-Tag: holmes-import~281 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c2c3589a023b68c9bb6a2143fc68fd792eea14d9;p=libucw.git Doc. system: escape apostrophes in def list Asciidoc takes 'quoted' text as italic. Escape when part of the definition. --- diff --git a/build/doc-defs b/build/doc-defs index b18a8b3d..a7f77d1b 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"; }