mkoskim/mawejs

Splits not working in export

Closed this issue · 1 comments

When editor was changed using nested buffer, at the same time to make things easier, it converts <br> elements to empty <p> elements.

The reason editor uses <p> elements is, that users can write text to empty paragraphs. Then they are no longer empty line breaks. Editor manages this so, that when rendering, it checks if <p> is empty, and if it is, it renders <br> (or equivalent).

Now, export engine still uses <br> tags to detect empty lines. This needs to be changed.

Should be fixed in commit: 9108b47