From 3f0b97ac64e05a3641b53780098a648352bd99d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Ram=C3=ADrez?= Date: Fri, 4 Nov 2016 11:12:27 -0600 Subject: [PATCH] Fix syntax error. --- secretary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secretary.py b/secretary.py index f3aaa2c..7357b26 100644 --- a/secretary.py +++ b/secretary.py @@ -725,7 +725,7 @@ class Renderer(object): # list elements, markdown2 creates
  • elements without wraping # their contents inside a container. Here we automatically create # 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') odt_node.appendChild(container) else: