aboutsummaryrefslogtreecommitdiff
path: root/mammoth/conversion.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-16 15:23:02 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-16 15:23:02 +0000
commit4e77045d7808a49254c9caca2401af32ef0ea9af (patch)
tree80191d7fe1a83f75d87f7b41ced551b8ac194377 /mammoth/conversion.py
parent85c3f4640a4ec423859906fd5adac946c72ce6de (diff)
Set default paragraph rule to require fresh p element
Diffstat (limited to 'mammoth/conversion.py')
-rw-r--r--mammoth/conversion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/conversion.py b/mammoth/conversion.py
index e21e3a0..b324c16 100644
--- a/mammoth/conversion.py
+++ b/mammoth/conversion.py
@@ -94,7 +94,7 @@ class DocumentConverter(object):
def _find_html_path_for_paragraph(self, paragraph):
- default = html_paths.path([html_paths.element("p")])
+ default = html_paths.path([html_paths.element("p", fresh=True)])
return self._find_html_path(paragraph, "paragraph", default)
def _find_html_path_for_run(self, run):