[Mediawiki-l] markup question

Patrick Gundlach pg at levana.de
Wed Nov 2 16:23:40 UTC 2005


Hello all,

question concerning markup/parser:

In a <pre> section, all markup is preserved (not interpreted), except
for <nowiki>....</nowiki> tags. So 

<pre>
 text <b>bold?</b>
</pre>

gets rendered as

 text <b>bold?</b>

(that's what I expected), whereas

<pre>
 text <nowiki>bold?</nowiki>
</pre>

gets rendered

 text bold?

Isn't this inconsistent? Or is this intentional behaviour? I am
asking, because I write a mediawiki markup parser in Ruby and like to
get things 'right' (whatever that means).

Patrick



More information about the MediaWiki-l mailing list