aboutsummaryrefslogtreecommitdiff
path: root/mammoth/images.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-12-10 22:01:20 +0000
committerMichael Williamson <mike@zwobble.org>2016-12-10 22:01:20 +0000
commit8661cad2a82b66254fff564f4a514cbd67ad371d (patch)
tree83cf43f5127b7e93575f3fd40ddeb8a1f41e7ee2 /mammoth/images.py
parentb870478788c35f9aa7902977938f253197b6d6d8 (diff)
Remove self-closing elements from AST
Diffstat (limited to 'mammoth/images.py')
-rw-r--r--mammoth/images.py2
1 files changed, 1 insertions, 1 deletions
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