Fix syntax error.

This commit is contained in:
Christopher Ramírez 2016-11-04 11:12:27 -06:00
parent fdd62c3ff6
commit 3f0b97ac64

View file

@ -725,7 +725,7 @@ class Renderer(object):
# list elements, markdown2 creates <li> elements without wraping # list elements, markdown2 creates <li> elements without wraping
# their contents inside a container. Here we automatically create # their contents inside a container. Here we automatically create
# the container if one was not created by markdown2. # the container if one was not created by markdown2.
if (tag=='li' and html_node.childNodes[0].localName <> 'p'): if (tag=='li' and html_node.childNodes[0].localName != 'p'):
container = xml_object.createElement('text:p') container = xml_object.createElement('text:p')
odt_node.appendChild(container) odt_node.appendChild(container)
else: else: