Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 155 by
oliver.e...@gmail.com: Html to wiki for embedded unordered
lists adds an additional list item
http://code.google.com/p/gwtwiki/issues/detail?id=155
What steps will reproduce the problem?
1. Use the wikipedia converter to convert html to wiki
HTML2WikiConverter converter = new HTML2WikiConverter();
ToWikipedia toWikipedia = new ToWikipedia();
String html = "<p>Some text:</p>\n"
+ "<ul>\n<li>Level One - 1\n<ul>\n<li>Level
two</li>\n</ul>\n</li>\n<li>Level One - 2</li>\n</ul>";
converter.setInputHTML(html);
String wiki = converter.toWiki(toWikipedia);
What is the expected output? What do you see instead?
Expected output:
Some text:
* Level One - 1
** Level two
* Level One - 2
Actual output:
Some text:
* Level One - 1
** Level two
*
* Level One - 2
The additional list item (single level deep) under level two causes a blank
list item to display when rendered back into html.
Repeating the process adds an additional li each time.
What version of the product are you using? On what operating system?
3.0.19, java 6, debian
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings