snudown
snudown copied to clipboard
Add a flag to not put paragraphs around html tags.
Basically, if you had extra line breaks you would end up with generated html like:
<p><table></p> ..... <p></table></p>
This flags alters the behavior of paragraph generation to end the current paragraph if an html open or close tag is hit.
Additionally, it makes it so that html tags do not have to be inside paragraphs.