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
... which is broken in the current HEAD of master. The later input is also not something we have in our tests.
The issue is that the nested div does not start at the beginning of a line and therefore is not parsed as a block level element. Under normal circumstances, this would be the correct behavior. However, as it is the first and immediate child of the outer <div> is should still be treated as a block level element. Interestingly, when working on #1069 it occurred to me that this could be an issue, but when the simple fix didn't break any tests, I dismissed the thought. I think we need a more sophisticated manner to determine at_line_start. Sigh.
waylan
changed the title
Hierarchy of nested <div markdown=1> gets turned inside-out
Nested one-liners broken with md_in_html
Nov 23, 2020
Version 3.3.3. I've found several anomalies in the behavior of nested markdown=1 blocks. Here's one that's probably diagnostic:
returns:
The inner
<div>
is now outside.Other weird things in this example are the addition of the
<p>
tags, which are unmatched, and a stray\n
.The text was updated successfully, but these errors were encountered: