summaryrefslogtreecommitdiff
path: root/test/command/8981.md
AgeCommit message (Collapse)Author
2023-10-20Markdown reader: fix blindspot with superscript in links.John MacFarlane
Previously `[^super^](#ref)` wasn't parsed as a link, due to code that was meant to prevent footnote markers from being recognized as reference links. This commit tightens up that code to avoid this bad effect. We have also added a new restriction on footnote labels: they cannot contain the characters `^`, `[`, or `]`. Though this is technically a breaking change, we suspect that the impact will be minimal, as it's very unlikely people would be using these characters in their note labels. Closes #8981.