Files
pandoc/test/command/9700.md
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

15 lines
353 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
```
% 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
```