aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/inlinepatterns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py
index 5e923e9..6cb4bdc 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -284,7 +284,7 @@ class HtmlPattern(Pattern):
value = stash.get(id)
if value is not None:
try:
- return util.etree.tostring(value)
+ return self.markdown.serializer(value)
except:
return '\%s' % value