Strip \x{c2} from .txt files and audit.
[exim.git] / doc / doc-docbook / Tidytxt
index a56124ccfacddb0d383bcf6536867884adec2a69..a628b6dcf81105c3a4a26fd05f9cae88b345dc26 100755 (executable)
@@ -38,6 +38,11 @@ foreach $line (@lines)
   $line =~ s/\x{e2}\x{95}\x{b2}/\\/g;
   $line =~ s/\x{e2}\x{95}\x{b3}/X/g;
 
+  # w3m rendering issue apparently only seen by pdp
+  # affects section numbers after the ToC, some info on spool-file -lines, etc
+  # always appears to be a spurious extra character, safely just dropped.
+  $line =~ s/\x{c2}//g;
+
   if ($line =~ /^\s*$/)
     {
     $line = "" if $lastwasblank;