diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:36:19 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:36:19 +0000 |
| commit | bb62d2d8e3865d2eac72f12f6dc09366e811e0b8 (patch) | |
| tree | d2653ed8da1315e3a6a5597e3aba8090328136ed /mammoth/html_generation.py | |
| parent | 5da998b4fc5c926b25f77eb36ce75c7ec3396cd2 (diff) | |
Rename html_string to as_string
Diffstat (limited to 'mammoth/html_generation.py')
| -rw-r--r-- | mammoth/html_generation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/html_generation.py b/mammoth/html_generation.py index 9f7930f..f91d4e8 100644 --- a/mammoth/html_generation.py +++ b/mammoth/html_generation.py @@ -41,12 +41,12 @@ class HtmlGenerator(object): self._writer.start(element.name, element.attributes) def append(self, other): - other_string = other.html_string() + other_string = other.as_string() if other_string: self._write_all() self._writer.append(other_string) - def html_string(self): + def as_string(self): return self._writer.as_string() |
