Open GoogleCodeExporter opened 8 years ago
I also have the same problem, can't get tables to work (windows XP). Is there a
fix available please?
Original comment by scott.wi...@mac.com
on 14 Apr 2008 at 4:04
[deleted comment]
Parsing your example with:
String wiki = "{| border=\"1\"\n" +
"|-\n" +
"| row 1, cell 1\n" +
"|}\n";
String html = Parser.toHtml(wiki, null);
works fine for me. But as soon as you replace the "\n" newlines with "\r" or
"\r\n"
I get the error you encountered. I suspect this has something to do with the
"wikipedia_table.jj" file which defines "\n" in a few places but not "\r". I'm
not a
javacc expert and don't know exactly which lines need to be changed.
A quick fix to this however, would be to create a Reader that reads characters
from a
wrapped reader and discards all "\r" characters it encounters. Not ideal, but
you
then use your StringReader or FileReader (or whatever) with the wrapper and
everything should work out.
Original comment by bodhi.r...@gmail.com
on 11 Dec 2008 at 9:33
please let me know that is there any script available for converting normal
text to wikitext through buttons ?
There is any problem of table n image insertion in jar file of wiki parser ?
Original comment by prashant...@gmail.com
on 29 Mar 2011 at 9:38
Original issue reported on code.google.com by
armisael...@gmail.com
on 23 Mar 2008 at 1:16