Open toddself opened 9 years ago
Given the following input:
this is a **paragraph** <iframe src="http://example.com"></iframe>
markdown (along with stmd - see jgm/stmd#88) outputs:
<p>this is a <strong>paragraph</strong></p> <p><iframe src="http://example.com"></iframe></p>
Gruber, (and chjj/marked) on the other hand presents:
<p>this is a <strong>paragraph</strong> <iframe src="http://example.com"></iframe>
Wrapping <iframe> tags in extraneous <p> tags can cause massive issues with styling of content.
<iframe>
<p>
I think Gruber has it right here, even though both are Valid HTML5
@toddself yeah i have the same problem that while i use some html syntax in markdown , they were all wrapped in
.
Given the following input:
markdown (along with stmd - see jgm/stmd#88) outputs:
Gruber, (and chjj/marked) on the other hand presents:
Wrapping
<iframe>
tags in extraneous<p>
tags can cause massive issues with styling of content.I think Gruber has it right here, even though both are Valid HTML5