Files
John MacFarlane df61b8b1a9 MediaWiki writer: fix escaping to avoid lists.
For paragraphs beginning with literal `#`, `*`, or other things
that would otherwise produce lists, we insert `<nowiki></nowiki>`
rather than (as previously) `\`. `\` does not work to escape
these.

Closes #11563.
2026-04-04 15:12:23 -04:00

353 B
Raw Permalink Blame History

% pandoc -t mediawiki
This is a normal sentence with a manual text footnote\*

\* The footnote explains why it couldn't just be inside parentheses

\#foobar \#foobar
^D
This is a normal sentence with a manual text footnote*

<nowiki></nowiki>* The footnote explains why it couldnt just be inside parentheses

<nowiki></nowiki>#foobar #foobar