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
The markdown package incorrectly parses reference link labels containing brackets.
Both the CommonMark and GitHub Flavored Markdown specifications note that "Link labels cannot contain brackets, unless they are backslash-escaped" (click on the document links to go to the examples in the specifications). The example from both specs show the example Markdown input data:
[foo][ref[]
[ref[]: /uri
should produce the following HTML output:
<p>[foo][ref[]</p>
<p>[ref[]: /uri</p>
However, the markdown package does not properly parse this reference link label. The following sample code:
The markdown package incorrectly parses reference link labels containing brackets.
Both the CommonMark and GitHub Flavored Markdown specifications note that "Link labels cannot contain brackets, unless they are backslash-escaped" (click on the document links to go to the examples in the specifications). The example from both specs show the example Markdown input data:
should produce the following HTML output:
However, the markdown package does not properly parse this reference link label. The following sample code:
Produces the following incorrect HTML output:
The text was updated successfully, but these errors were encountered: