aboutsummaryrefslogtreecommitdiff
path: root/mammoth/conversion.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-02-07 18:36:19 +0000
committerMichael Williamson <mike@zwobble.org>2015-02-07 18:36:19 +0000
commitbb62d2d8e3865d2eac72f12f6dc09366e811e0b8 (patch)
treed2653ed8da1315e3a6a5597e3aba8090328136ed /mammoth/conversion.py
parent5da998b4fc5c926b25f77eb36ce75c7ec3396cd2 (diff)
Rename html_string to as_string
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 922626c..7ea3998 100644
--- a/mammoth/conversion.py
+++ b/mammoth/conversion.py
@@ -28,7 +28,7 @@ def convert_document_element_to_html(element,
id_prefix=id_prefix)
converter.convert_element_to_html(element, html_generator,)
html_generator.end_all()
- return results.Result(html_generator.html_string(), converter.messages)
+ return results.Result(html_generator.as_string(), converter.messages)
class DocumentConverter(object):