My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 56: Mediawiki parser <pre> error: not support attributes on the tag
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by fajaven, Sep 02, 2008
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>&lt;pre class="java"&gt;
class Person {
    String name;
    int age;
}
&lt;/pre&gt;</p>


Sign in to add a comment

Hosted by Google Code