You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled on a case involving strikethrough and link notation whereby
md2html produces invalid HTML, because of an unbalanced <del> tag.
The intention of all the examples below is not to trigger strikethrough, but
you can see that <del> sneaks in regardless.
md2html --fstrikethrough <<EOFa ~ b [](#a%20~%20b)a ~~ b [](#a%20~~%20b)a ~ b [](#a%20~~%20b) GOODa ~ b [](#a%20~/%20b) punctuation matters~ [](~) length likely doesn't matter~ [](<~>) angular brackets don't help[~][~] link references don't helpEOF
Output (md2html 0.5.2):
<p>a <del> b <a href="#a%20~%20b"></a></p>
<p>a <del> b <a href="#a%20~~%20b"></a></p>
<p>a ~ b <a href="#a%20~~%20b"></a> GOOD</p>
<p>a <del> b <a href="#a%20~/%20b"></a> punctuation matters</p>
<p><del> <a href="~"></a> length likely doesn't matter</p>
<p><del> <a href="~"></a> angular brackets don't help</p>
<p>[<del>][</del>] link references don't help</p>
The text was updated successfully, but these errors were encountered:
I stumbled on a case involving strikethrough and link notation whereby
md2html produces invalid HTML, because of an unbalanced
<del>
tag.The intention of all the examples below is not to trigger strikethrough, but
you can see that
<del>
sneaks in regardless.Output (md2html 0.5.2):
The text was updated successfully, but these errors were encountered: