From c2c3589a023b68c9bb6a2143fc68fd792eea14d9 Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sun, 28 Sep 2008 15:40:46 +0200 Subject: [PATCH] Doc. system: escape apostrophes in def list Asciidoc takes 'quoted' text as italic. Escape when part of the definition. --- build/doc-defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.39.2