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
There is a weird escaping going on in certain cases in code blocks that are inside html tags with markdown="1"
In reality I'm using a <details markdown="1"> tag as container but will use a <p> for the demonstration.
The code inside a markdown code block should not be escaped as it's expected to be code.
Edit
If I remove the markdown="1" from the p tag the markdown is taken literally as html which I don't understand if this comment meant that markdown inside html tags are supposed to work even without the markdown="1" addition, just like github for instance.
If I remove the html parent block, the markdown code block is interpreted correctly:
The text was updated successfully, but these errors were encountered:
There is a weird escaping going on in certain cases in code blocks that are inside html tags with
markdown="1"
In reality I'm using a
<details markdown="1">
tag as container but will use a<p>
for the demonstration.I have set
Steps to reproduce
Actual result
<
converted to<
sometimesThe following:
results to this:
Expected result
The code inside a markdown code block should not be escaped as it's expected to be code.
Edit
If I remove the
markdown="1"
from thep
tag the markdown is taken literally as html which I don't understand if this comment meant that markdown inside html tags are supposed to work even without themarkdown="1"
addition, just like github for instance.If I remove the html parent block, the markdown code block is interpreted correctly:
The text was updated successfully, but these errors were encountered: