diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:39:51 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:39:51 +0000 |
| commit | c58934d6e0a9062e5b982a3942d7a034d7ead7f7 (patch) | |
| tree | 24b0d329e565d2c91d47cf1d0ec4c0f28a9c4ce5 /mammoth/html_generation.py | |
| parent | bb62d2d8e3865d2eac72f12f6dc09366e811e0b8 (diff) | |
Add child method to HtmlGenerator
Diffstat (limited to 'mammoth/html_generation.py')
| -rw-r--r-- | mammoth/html_generation.py | 3 |
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): |
