aboutsummaryrefslogtreecommitdiff
path: root/mammoth/html_generation.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-02-07 18:39:51 +0000
committerMichael Williamson <mike@zwobble.org>2015-02-07 18:39:51 +0000
commitc58934d6e0a9062e5b982a3942d7a034d7ead7f7 (patch)
tree24b0d329e565d2c91d47cf1d0ec4c0f28a9c4ce5 /mammoth/html_generation.py
parentbb62d2d8e3865d2eac72f12f6dc09366e811e0b8 (diff)
Add child method to HtmlGenerator
Diffstat (limited to 'mammoth/html_generation.py')
-rw-r--r--mammoth/html_generation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mammoth/html_generation.py b/mammoth/html_generation.py
index f91d4e8..6dd0b33 100644
--- a/mammoth/html_generation.py
+++ b/mammoth/html_generation.py
@@ -48,6 +48,9 @@ class HtmlGenerator(object):
def as_string(self):
return self._writer.as_string()
+
+ def child(self):
+ return HtmlGenerator()
class _Element(object):