bryonjacob / wikimodel

Automatically exported from code.google.com/p/wikimodel
0 stars 0 forks source link

Mediawiki parser <pre> <nowiki> error: only parse the first and last tag #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I input test text like this: 
<pre>
aaaaaaa
</pre>
<pre>
bbbbbb
</pre>

Then the Mediawiki parse result is like this:
<pre>
aaaaaa
&#x3c;/pre&#x3e;

&#x3c;pre&#x3e;
bbbbbb
</pre>

That is, Mediawiki parser only concern the first and last tag of PRE, can
only parse one pair of pre tag.

The <nowiki> tag has the same problem.

Original issue reported on code.google.com by fajaven on 2 Sep 2008 at 3:01

GoogleCodeExporter commented 8 years ago

Original comment by thomas.m...@gmail.com on 28 Mar 2010 at 5:52

GoogleCodeExporter commented 8 years ago
Applied patch from Arun Reddy

Original comment by thomas.m...@gmail.com on 28 Mar 2010 at 5:56