This works as expected: ```pycon >>> markdown.markdown("Para `X`\n\ntest") 'Para X\ntest' ``` Adding a `<` inside the code span causes the `` to be wrapped in a `` element: ```pycon >>> markdown.markdown("Para `test") 'Para <X\ntest' ``` Doesn't happen with `>`: ```pycon >>> markdown.markdown("Para `>X`\n\ntest") 'Para >X\ntest' ``` ## Re-formatted examples: **Without `<`:** ```markdown Para `X` test ``` ```html Para <X test ``` **With `<`:** ```markdown Para `test ``` ```html Para <X test ``` 👆 extra `` element around the div ## Versions * Happens on Markdown 3.3.3 and `master` (tested on 82ac9056350e67411cdb1da34363950b1e18a271)
Activity
dbader commentedon Nov 21, 2020
I think these might be fixed in #1072
Checking now.
dbader commentedon Nov 21, 2020
Yep, all good in #1072:
Thanks @waylan! Closing this issue.