aboutsummaryrefslogtreecommitdiff
path: root/test/command/7697.md
AgeCommit message (Collapse)AuthorFilesLines
2021-11-19MediaWiki writer: fix code for generating spans for header IDs.John MacFarlane1-2/+2
We need to generate a span when the header's ID doesn't match the one MediaWiki would generate automatically. But MediaWiki's generation scheme is different from ours (it uses uppercase letters, and `_` instead of `-`, for example). This means that in going from markdown -> mediawiki, we'll now get spans before almost every heading, unless explicit identifiers are used that correspond to the ones MediaWiki auto-generates. This is uglier output but it's necessary for internal links to work properly. See #7697.
2021-11-18MediaWiki writer: use HTML spans for anchors when header has id.John MacFarlane1-0/+27
Closes #7697.