We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following:
<pre> width: 100%; /* comment */ </pre>
is rendered by marked as:
width: 100%; /* comment */
However, if the pre tag is inside another block element:
pre
<div> <pre> width: 100%; /* comment */ </pre> </div>
the output is:
<div> <pre> width: 100%; /<em> comment </em>/ </pre> </div>
So it seems that <pre> tags are not ignored when inside another block element.
<pre>
Definitely an extreme edge case when writing markdown, but also an inconsistency.
The text was updated successfully, but these errors were encountered:
#983
Sorry, something went wrong.
I cannot reproduce this on current master v0.3.12:
$ bin/marked <pre> width: 100%; /* comment */ </pre> ^D <pre> width: 100%; /* comment */ </pre>
No branches or pull requests
The following:
is rendered by marked as:
However, if the
pre
tag is inside another block element:the output is:
So it seems that
<pre>
tags are not ignored when inside another block element.Definitely an extreme edge case when writing markdown, but also an inconsistency.
The text was updated successfully, but these errors were encountered: