]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Filter.pm
filter: ensure CRs do not show up in lynx conversions
[public-inbox.git] / lib / PublicInbox / Filter.pm
index e784cded644139160d84b4205cb5f6ffbc275923..929a8ffc5af34acf77a434e8dab249578d96b03f 100644 (file)
@@ -97,6 +97,7 @@ sub dump_html {
                push @cmd, "-assume_charset=$charset";
        }
        if (IPC::Run::run(\@cmd, $body, \$out, \$err)) {
+               $out =~ s/\r\n/\n/sg;
                $$body = $out;
        } else {
                # give them an ugly version: