Subject: | Some fixes for wikitext_patterns in MediaWiki.pm |
In the MediaWiki processing, I noticed that some wiki-markup was not getting escaped with <nowiki>...</nowiki> tags. Namely:
<p>| a line with a vertical bar
<p>! a line that starts with a bang
<p>= a line that looks like a section =
I changed the second pattern in the @wikitext_patterns array to hold those 3 extra characters:
qr/^(?:\*|\#|\;|\:|=|!|\|)/m,
This fixed the problem.