aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/html_generation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/html_generation.py b/mammoth/html_generation.py
index 37d191a..52f9f92 100644
--- a/mammoth/html_generation.py
+++ b/mammoth/html_generation.py
@@ -55,6 +55,6 @@ def _generate_attribute_string(attributes):
return ""
else:
return "".join(
- ' {0}="{1}"'.format(key, value)
+ ' {0}="{1}"'.format(key, _escape_html(value))
for key, value in attributes.iteritems()
)