Fixed ul and ol, now work with formatted text in the list

This commit is contained in:
Cristian Trapattoni 2011-02-25 14:03:14 +01:00
parent bac3de9751
commit 079b3d4df8
2 changed files with 3 additions and 2 deletions

View file

@ -100,7 +100,7 @@ namespace ScrewTurn.Wiki {
result += processList(child.ChildNodes, marker + ul);
break;
default:
StringReader a = new StringReader(child.InnerText);
StringReader a = new StringReader(child.OuterXml);
XmlDocument n = FromHTML((TextReader)a);
result += marker + " " + processChild(n.ChildNodes) + "\r\n";
break;