X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/02048bd80463c15e0f3051a28d8e575c5a21734e..86d6ea4639d96053e433344870a307e9e4a225dd:/browser.plp diff --git a/browser.plp b/browser.plp index 5e359b4..652f6a9 100644 --- a/browser.plp +++ b/browser.plp @@ -300,6 +300,7 @@ sub featurescore { sub formatnotes { my @html = @_; for (@html) { + s/\r\n?/\n/g; # windows returns s/\h* $//gmx; # trailing whitespace s/(?<= [^.\n]) $/./gmx; # consistently end each line by a period Entity($_);