From bb62d2d8e3865d2eac72f12f6dc09366e811e0b8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 7 Feb 2015 18:36:19 +0000 Subject: Rename html_string to as_string --- mammoth/html_generation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mammoth/html_generation.py') 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() -- cgit v1.2.3