aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-11-01 08:27:57 -0400
committerWaylan Limberg <waylan@gmail.com>2012-11-01 08:27:57 -0400
commitf02f0626049352c2520fcad66c90e1f92a05539d (patch)
tree2dea7033842cce79c985a694fbce3d59bc6e4621
parentbb429db7e2dd22711e3a3c583395bd525b7c8358 (diff)
downloadmarkdown-f02f0626049352c2520fcad66c90e1f92a05539d.tar.gz
markdown-f02f0626049352c2520fcad66c90e1f92a05539d.tar.bz2
markdown-f02f0626049352c2520fcad66c90e1f92a05539d.zip
Fixed #154. Inline placeholders in img alt text are now unescaped.
-rw-r--r--markdown/inlinepatterns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py
index 17bc3c4..b3caeb0 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -375,7 +375,7 @@ class ImagePattern(LinkPattern):
else:
truealt = m.group(2)
- el.set('alt', truealt)
+ el.set('alt', self.unescape(truealt))
return el
class ReferencePattern(LinkPattern):