         }
 
         if isNode(node, ofType: .li) {
-            attributes[TextListItem.attributeName] = TextListItem(number: currentListNumber)
-            currentListNumber += 1
+            if let listStyle = currentListStyle {
+                attributes[TextListItem.attributeName] = TextListItem(number: currentListNumber)
+                currentListNumber += 1
+            }
         }
 
         return attributes

        let content = NSMutableAttributedString()
        let childAttributes = attributes(forNode: node, inheritingAttributes: inheritedAttributes)

        for child in node.children {
            let childContent = convert(child, inheritingAttributes: childAttributes)

            if childContent.length > 0 && node.name == StandardElementType.li.rawValue,
               let listItemAttribute = childContent.attribute(TextListItem.attributeName, atIndex: 0, effectiveRange: nil) as? TextListItem,
               let currentStyle = currentListStyle {
                var attributesForMarker = childAttributes
                attributesForMarker[TextListItemMarker.attributeName] = TextListItemMarker()
                attributesForMarker[NSParagraphStyleAttributeName] = NSParagraphStyle.Aztec.defaultParagraphStyle
                let markerString = NSAttributedString(string:currentStyle.markerText(forItemNumber: listItemAttribute.number),
                                                      attributes: attributesForMarker)
                content.appendAttributedString(markerString)
            }
            
            content.appendAttributedString(childContent)
        }

        return content

    typealias StandardElementType = Libxml2.StandardElementType

    /// The default font descriptor that will be used as a base for conversions.
    /// 
    let defaultFontDescriptor: UIFontDescriptor

    /// The current active list style
    ///


    required init(usingDefaultFontDescriptor defaultFontDescriptor: UIFontDescriptor) {
        self.defaultFontDescriptor = defaultFontDescriptor
