sweble / sweble-wikitext

The Sweble Wikitext Components module provides a parser for MediaWiki's wikitext and an engine trying to emulate the behavior of a MediaWiki.
http://sweble.org/sites/swc-devel/develop-latest/tooling/sweble/sweble-wikitext
70 stars 27 forks source link

pre tag support is case sensitive #43

Closed kno10 closed 7 years ago

kno10 commented 8 years ago

Apparently, pages such as Data Transformation Services in enwiki and Dynamic programming fail because the pre tag extension is case-sensitive, i.e. it only triggers for <pre> not for <PRE>?

hannesd commented 8 years ago

That is correct. I experimented on Wikipedia and both parser functions and tag extensions seem to be case-insensitive (the names). I'll look into it.

kno10 commented 8 years ago

There is also a related hack in Template:Pre2 that can be simplified to:

<pre<includeonly/>>Test''b''</pre>

that is apparently designed to bypass the special handling of <pre> tags. It allows (as in this example) wiki markup within pre tags.

hannesd commented 7 years ago

Fixed in version 2.2.0