Closed
Description
Not sure what is the purpose of the line 118 in SimpleRTF2HTMLConverter#fetchHtmlSection()
:
html = html.replaceAll("[\\n\\r]+", " <br/> ");
However this results in whole lot of extra <br/>
tags. And when trying to send an email with such HTML it looks awful with lots of extra lines. However when I replaced <br/>
back with a newline \n
and sent the email, it looked just like the original.
I tried this on about 10 different emails of various complexity and this replacement of newline with <br/>
broke all of them completely, while removing this line fixed them to be just like the originals.