original) (raw)
InlineHTML not treated as HTML correctly · Issue #1481 · Python-Markdown/markdown (Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
If <center>
has tags nested underneath it, the <center>
tag is surrounded by <p>
tags, breaking the HTML.
from markdown import markdown text = """# My Header
TestSomething
Test div
Some paragraph
Something else """ print(markdown(text))
Results in:
It seems like
works correctly, so not 100% why the difference.