This:
<embed type="text/html" src="https://example.com/" width="100%" height="100%">
gets converted into this (when rendered on the page):
<p> <embed type="text/html" src="https://example.com/" width="100%" height="100%"> </p>
making the embed tag unusable. Is there are any way to stop this from happening? The same happens when you use an iframe tag. I expect the page "example.com" to be rendered.
I'm using Django for the project and have the following displaying the Markdown:
{{ page.text | escape | markdown | safe }}
with page.text being the variable holding the text.
The version of Markdown I'm using is 3.2.
page.texthave? Is it that wholeembedtag? Why are you using theescapefilter? Its whole point is to escape HTML, e.g. to convert<to<, which doesn't make much sense if you're then using thesafefilter.