I want to use some syntax highlighter to highlight code, so I add some
attributes in pre tag, like this:
<pre class="java">
class Person {
String name;
int age;
}
</pre>
I expect the parse result is the same with above.
But Mediawiki parser don't know the attribute-added pre tag, then the
parser result is:
<p><pre class="java">
class Person {
String name;
int age;
}
</pre></p>
Original issue reported on code.google.com by fajaven on 2 Sep 2008 at 3:08
Original issue reported on code.google.com by
fajaven
on 2 Sep 2008 at 3:08