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 b07598f..ab7b4c6 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -299,7 +299,7 @@ class HtmlPattern(Pattern):
value = stash.get(id)
if value is not None:
try:
- return self.markdown.serializer(text)
+ return self.markdown.serializer(value)
except:
return '\%s' % value