]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: remove all CR before LF
authorEric Wong <e@80x24.org>
Fri, 11 Feb 2022 20:22:17 +0000 (20:22 +0000)
committerEric Wong <e@80x24.org>
Fri, 11 Feb 2022 20:30:45 +0000 (20:30 +0000)
While we've rendered CR-LF as LF-only in HTML for many years,
some messages end up as CR-CR-LF.  So strip ALL all CR bytes
preceding LF bytes, while preserving odd CR in the middle of
lines.

Reported-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://public-inbox.org/meta/8d13668f-cac7-4984-bb4e-ad90502dc46d@t-8ch.de/

No differences found