Fix syntax error.
This commit is contained in:
parent
fdd62c3ff6
commit
3f0b97ac64
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue