// expects that a <ul> tag only has a <li>, so we will need to change them
// to this: <ul><li><ul><li>1</li></ul></li></ul>
if (node.nodeName().equalsIgnoreCase("ul")) {
QDomNode firstChild = node.firstChild();
QDomElement childElement = firstChild.toElement();
if (childElement.nodeName().equalsIgnoreCase("ul")) {
QDomElement newElement = doc.createElement("li");
node.insertBefore(newElement, firstChild);
node.removeChild(firstChild);
newElement.appendChild(firstChild);
}