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
Well, the Markdown spec says when there’re linebreaks in a list item, the list should contain items like <li><p>...</p></li>, so the correct output should be
Hoedown does this because it renders output in one pass, instead of creating AST first and then render. This is much efficient, but also means when it sees the linebreak in the C line, it can’t go back and fix the previous items, resulting the current output. This is not fixable unless you rewrite the how thing, which is exactly what the develop branch is doing… but that is stalled.
As things currently stand, the only choices you have are either to accept this behaviour, or switch to another library.
As QOwnNotes uses the hoedown library the issue pbek/QOwnNotes#799 might be here on the right place
Expected behaviour
If list items are separated by one or more blank lines the html output should show two separated lists (or perhaps only one)
should become
or
Actual behaviour
Somehow a
<p>
element is inserted into the<li>
elements C D E F, so it looks likeThe text was updated successfully, but these errors were encountered: