What steps will reproduce the problem?
here is my code:
public static String asWiki(String text) {
if(null==text){
return null;
}
IWikiParser parser = new CommonWikiParser();
StringReader reader = new StringReader(text);
IWikiPrinter printer = new WikiPrinter();
IWemListener listener = new PrintListener(printer, true, true);
try {
parser.parse(reader, listener);
} catch (WikiParserException e) {
return e.getMessage();
}
return printer.toString();
}
and input:
<pre class="java">
java
</pre>
What is the expected output? What do you see instead?
expected:
<div class="wikimodel-document">
<pre class="java">
java
</pre>
</div>
see instead:
<div class='wikimodel-document'>
<p><pre class="java">
java
</pre></p>
</div>
What version of the product are you using? On what operating system?
Using the version in /trunk/
On linux.
Please provide any additional information below.
i wanna support syntaxhighlighter.
i read issue 56.
did you fixed the bug?
Original issue reported on code.google.com by Ph...@golgi.mrphone.tk on 14 Jul 2011 at 2:54
Original issue reported on code.google.com by
Ph...@golgi.mrphone.tk
on 14 Jul 2011 at 2:54