-
Notifications
You must be signed in to change notification settings - Fork 882
Closed
Labels
bugBug report.Bug report.coreRelated to the core parser code.Related to the core parser code.someday-maybeApproved low priority request.Approved low priority request.
Description
When using the markdown.extensions.extra
, syntax looking like a code fence inside of HTML block elements gets rendered as gibberish instead of text, unless the HTML block has markdown=1
applied.
This test case demonstrates what I mean:
test.md.txt
The output I get from parsing that page includes a section like this:
<div>
Save this file to `test.md` and then try this:
�wzxhzdk:0�
</div>
The exact contents of the gibberish change, but it typically seems to start with wz... which suggests to me that it's rendering something that's not meant to be a string as a string.
Same behavior on Python 3.5.1, using Python-Markdown 2.6.2 and Python-Markdown 2.6.5, as well as Python 2.7.11 using Python-Markdown 2.6.5. (On two different Arch Linux machines.)
brondsem and john-kurkowski
Metadata
Metadata
Assignees
Labels
bugBug report.Bug report.coreRelated to the core parser code.Related to the core parser code.someday-maybeApproved low priority request.Approved low priority request.