archivist
archivist copied to clipboard
HTMLeditor treat new lines as whitespace
Just append new line (shift+enter) to some string and save it - you will see whitespace instead of newline.
@oliver---- do you have any time today for that? It's most critical now, I think after this we could deploy.
you think that is critical? most people will just press enter anyway to create a new paragraph?
no, the problem that i already create a lot of comments during import and it has a lot of new lines
can you convert them to paragraphs somehow?
like instead of:
<p>abc<br>efg</p>
to have
<p>abc</p><p>efg</p>
it would be replacing <br> with </p><p>.
I suppose HTMLImporter and Exporter should turn \n into <br> and vice versa, in general.
definitely!