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
An obscure edge case, but still...
< is usually escaped in image alt:
<
![a <](b.png)
becomes
<p><img src="b.png" alt="a <" /></p>
(https://spec.commonmark.org/dingus/?text=!%5Ba%20%3C%5D(b.png))
However, if the < is part of an HTML tag, it is not escaped in the output:
![a <a>](b.png)
<p><img src="b.png" alt="a <a>" /></p>
(https://spec.commonmark.org/dingus/?text=!%5Ba%20%3Ca%3E%5D(b.png))
cmark generates the expected output:
cmark
<p><img src="b.png" alt="a <a>" /></p>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
An obscure edge case, but still...
<
is usually escaped in image alt:becomes
(https://spec.commonmark.org/dingus/?text=!%5Ba%20%3C%5D(b.png))
However, if the
<
is part of an HTML tag, it is not escaped in the output:becomes
(https://spec.commonmark.org/dingus/?text=!%5Ba%20%3Ca%3E%5D(b.png))
cmark
generates the expected output:The text was updated successfully, but these errors were encountered: