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
<<unknown>>
Given markdown input
a statement[^1] [^1]: this is true
Converting to FORMAT_HTML while enabling CMARK_OPT_FOOTNOTES works:
FORMAT_HTML
CMARK_OPT_FOOTNOTES
<p>a statement<sup class="footnote-ref"><a href="#fn-1" id="fnref-1" data-footnote-ref>1</a></sup></p> <section class="footnotes" data-footnotes> <ol> <li id="fn-1"> <p>this is true <a href="#fnref-1" class="footnote-backref" data-footnote-backref data-footnote-backref-idx="1" aria-label="Back to reference 1">↩</a></p> </li> </ol> </section>
However, converting to FORMAT_XML while enabling CMARK_OPT_FOOTNOTES yields invalid xml:
FORMAT_XML
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE document SYSTEM "CommonMark.dtd"> <document xmlns="http://commonmark.org/xml/1.0"> <paragraph> <text xml:space="preserve">a statement</text> <<unknown> /> </paragraph> <<unknown>> <paragraph> <text xml:space="preserve">this is true</text> </paragraph> </<unknown>> </document>
The weird <<unknown>> tag is invalid.
The text was updated successfully, but these errors were encountered:
CMARK_NODE_FOOTNOTE_REFERENCE
CMARK_NODE_FOOTNOTE_DEFINITION
No branches or pull requests
Given markdown input
Converting to
FORMAT_HTML
while enablingCMARK_OPT_FOOTNOTES
works:However, converting to
FORMAT_XML
while enablingCMARK_OPT_FOOTNOTES
yields invalid xml:The weird
<<unknown>>
tag is invalid.The text was updated successfully, but these errors were encountered: