-
Notifications
You must be signed in to change notification settings - Fork 880
Closed
Labels
bugBug report.Bug report.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.needs-confirmationThe alleged behavior needs to be confirmed.The alleged behavior needs to be confirmed.
Description
I wrote something like this:
<div class="outer" markdown="1">
Code: `<label><input/></label>`
</div>
With stable Markdown 3.3.3 I get the expected result:
>>> print(markdown.markdown('<div class="outer" markdown="1">\n\nCode: `<label><input/></label>`\n\n</div>', extensions=["extra"]))
<div class="outer">
<p>Code: <code><label><input/></label></code></p>
</div>
But I installed latest git version to solve #1066 and I got mysterious result:
>>> print(markdown.markdown('<div class="outer" markdown="1">\n\nCode: `<label><input/></label>`\n\n</div>', extensions=["extra"]))
<div class="outer">
<p>Code: <code><label><input/></label></code></p>
</div>
label is escaped properly, but input is not escaped, it's strange
Metadata
Metadata
Assignees
Labels
bugBug report.Bug report.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.needs-confirmationThe alleged behavior needs to be confirmed.The alleged behavior needs to be confirmed.