From dc381b5afcae0994094d49465142e6099dcec86c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 1 Dec 2013 11:26:10 +0000 Subject: Add style_name to paragraphs --- mammoth/docx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth/docx.py') diff --git a/mammoth/docx.py b/mammoth/docx.py index 9a3fe36..2f383dd 100644 --- a/mammoth/docx.py +++ b/mammoth/docx.py @@ -47,7 +47,7 @@ def run(element): @handler("w:p") def paragraph(element): - return documents.Paragraph(_read_xml_elements(element.children)) + return documents.paragraph(_read_xml_elements(element.children)) @handler("w:body") -- cgit v1.2.3