diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-11-01 08:27:57 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-11-01 08:27:57 -0400 |
commit | f02f0626049352c2520fcad66c90e1f92a05539d (patch) | |
tree | 2dea7033842cce79c985a694fbce3d59bc6e4621 | |
parent | bb429db7e2dd22711e3a3c583395bd525b7c8358 (diff) | |
download | markdown-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.py | 2 |
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): |