Test
S...">

InlineHTML not treated as HTML correctly · Issue #1481 · Python-Markdown/markdown (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@ScriptPup

Description

@ScriptPup

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

Test
Something
Test div

Some paragraph

Some paragraph

Something else """ print(markdown(text))

Results in:

image

It seems like

works correctly, so not 100% why the difference.