aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/uche.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2007-11-29 20:58:03 +0000
committerWaylan Limberg <waylan@gmail.com>2007-11-29 20:58:03 +0000
commit65d6566b2ac5ca23c87179e24fa9bd4c14173ea4 (patch)
tree3b207a94b23b909bd93e2dc1f229c02ffe4fb397 /tests/misc/uche.html
parent9f8372ece0b824e2038a7b728064ae454283db68 (diff)
downloadmarkdown-65d6566b2ac5ca23c87179e24fa9bd4c14173ea4.tar.gz
markdown-65d6566b2ac5ca23c87179e24fa9bd4c14173ea4.tar.bz2
markdown-65d6566b2ac5ca23c87179e24fa9bd4c14173ea4.zip
Added support for images inside links and updated tests. Fixes [1458136].
Note, to accomplish this, a negative lookbehind (for a !) was added to each link regex so they could be run before the image regex. The (fairly new) recursion on the link text then parses the image. Not sure how the negative lookbehind will affect performance.
Diffstat (limited to 'tests/misc/uche.html')
-rw-r--r--tests/misc/uche.html11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/misc/uche.html b/tests/misc/uche.html
index e6c725b..f438f3d 100644
--- a/tests/misc/uche.html
+++ b/tests/misc/uche.html
@@ -1,10 +1,7 @@
-
<p><img src="http://fourthought.com/images/ftlogo.png" title="Fourthought logo" alt="asif"/>
</p>
-<p>[<img src="http://fourthought.com/images/ftlogo.png" title="Fourthought logo" style="float: left; margin: 10px; border:
-none;" alt=""/>](http://fourthought.com/)
+<p><a href="http://fourthought.com/"><img src="http://fourthought.com/images/ftlogo.png" title="Fourthought logo" style="float: left; margin: 10px; border:
+none;" alt=""/></a>
</p>
-<p>[<img src="x" alt="text"/>](http://link.com/)
-</p>
-
-
+<p><a href="http://link.com/"><img src="x" alt="text"/></a>
+</p> \ No newline at end of file