diff --git a/secretary.py b/secretary.py index 722e1e6..9dd8c46 100644 --- a/secretary.py +++ b/secretary.py @@ -720,6 +720,17 @@ class Renderer(object): # Transfer child nodes if html_node.hasChildNodes(): for child_node in html_node.childNodes: + # We can't directly insert text into a text:list-item + # element. The content of the item most be wrapped inside + # a container like text:p. When there's not a double linebreak + # separating list elements, markdown2 creates