12 lines
547 B
Diff
12 lines
547 B
Diff
|
diff -urNp linuxdoc-tools-0.9.21/lib/dist/fmt_txt.pl devel/lib/dist/fmt_txt.pl
|
||
|
--- linuxdoc-tools-0.9.21/lib/dist/fmt_txt.pl 2001-12-23 14:08:49.000000000 +0100
|
||
|
+++ devel/lib/dist/fmt_txt.pl 2007-06-19 14:35:30.000000000 +0200
|
||
|
@@ -78,6 +78,7 @@ my $txt_escape = sub {
|
||
|
|
||
|
$data =~ s|"|\\\&\"|g; # Insert zero-width space in front of "
|
||
|
$data =~ s|^\.|\\&.|; # ditto in front of . at start of line
|
||
|
+ $data =~ s|^\'|\\&\'|; # ditto in front of ' at start of line
|
||
|
$data =~ s|\\|\\\\|g; # Escape backslashes
|
||
|
|
||
|
return ($data);
|