From 8661cad2a82b66254fff564f4a514cbd67ad371d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 10 Dec 2016 22:01:20 +0000 Subject: Remove self-closing elements from AST --- mammoth/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth/images.py') diff --git a/mammoth/images.py b/mammoth/images.py index 4dc095a..297b0a2 100644 --- a/mammoth/images.py +++ b/mammoth/images.py @@ -7,7 +7,7 @@ def img_element(func): if image.alt_text: attributes["alt"] = image.alt_text - return [html.self_closing_element("img", attributes)] + return [html.element("img", attributes)] return convert_image -- cgit v1.2.3