-
Notifications
You must be signed in to change notification settings - Fork 873
Nested one-liners broken with md_in_html #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oh, I should have mentioned also that the actual content |
I'm not able to replicate that behavior in any recent version. With versions 3.3.0 through 3.3.3 I get: <div class="outer">
<div class="inner">
<p><em>foo</em></p>
</div>
</div> However, I see that in #1069 (which is part of the unreleased version 3.3.4) we broke this and I am getting: <div class="outer">
<p><div class="inner" markdown="block"><em>foo</em></p>
</div>
</div> That does not turn things 'inside-out,' but it is clearly wrong. and it demonstrates again that our tests for md_in_html are incomplete. By the way, there is a clear difference between the inputs:
... which works fine and ...
... 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 |
Thank you very much—inserting newlines resolved the problem for me. Thank you for the amazing work you are doing on this package! |
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: