diff --git a/src/main/java/w2phtml/xhtml/content/ListParser.java b/src/main/java/w2phtml/xhtml/content/ListParser.java index 350260e..959ed10 100644 --- a/src/main/java/w2phtml/xhtml/content/ListParser.java +++ b/src/main/java/w2phtml/xhtml/content/ListParser.java @@ -119,6 +119,7 @@ public class ListParser extends Parser { Element list = converter.createElement("ul"); StyleInfo listInfo = new StyleInfo(); getListSP().applyStyle(nLevel,sStyleName,listInfo); + getListSP().readParentStyle(nLevel, sStyleName, listInfo); writeStyle(listInfo,list); hnode.appendChild(list); traverseList(onode,nLevel,sStyleName,list);