foo and bar should both be footnote definitions, but foo is getting parsed as a link (and the reference made later isn't working right):
[^foo]: x
[^bar]: x
Test [^foo] / [^bar]
Result:
<div class="footnote-definition" id="bar"><sup class="footnote-definition-label">1</sup>
<p>x</p>
</div>
<p>Test [^foo] / <sup class="footnote-reference"><a href="#bar">1</a></sup></p>
Details
Events from pulldown-cmark:
" [^|]:\n" -> [
Start(Paragraph)
Text(Boxed("[^|]:"))
End(Paragraph)
]
Events from pandoc: