You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a typical case when converting html from rich text editor like TinyMCE to markdown. User presses enter key 2 times and gets 2 paragraphs in editor which visually look like several newlines in html:
<p>1</p>
<p></p>
<p>2</p>
We expect it to be processed similar to:
1<br><br><br>2
which gives:
1
<br />
2
but actual result is:
1
2
Note that in real case the empty <p> tag looks like this:
<p> </p>
So strictly it is not empty, but is still omitted.
This is a typical case when converting html from rich text editor like TinyMCE to markdown. User presses enter key 2 times and gets 2 paragraphs in editor which visually look like several newlines in html:
We expect it to be processed similar to:
which gives:
but actual result is:
Note that in real case the empty
<p>
tag looks like this:So strictly it is not empty, but is still omitted.
Options used:
The text was updated successfully, but these errors were encountered: