aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/brackets-in-img-title.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2014-01-05 07:25:09 -0800
committerWaylan Limberg <waylan@gmail.com>2014-01-05 07:25:09 -0800
commit3e03dd14b3f47f1482e91da155834afc25d6458f (patch)
tree65a9ceeecacfcc3dc89d278135c1483f931dc18b /tests/misc/brackets-in-img-title.html
parentb6ed501695ea5f8029a228686f84c163c0cdc50b (diff)
parentdb12a327339d71cfd1b50a1f85bb158095b2fbae (diff)
downloadmarkdown-3e03dd14b3f47f1482e91da155834afc25d6458f.tar.gz
markdown-3e03dd14b3f47f1482e91da155834afc25d6458f.tar.bz2
markdown-3e03dd14b3f47f1482e91da155834afc25d6458f.zip
Merge pull request #275 from geekman/master
Fixed parsing of brackets within inline image titles
Diffstat (limited to 'tests/misc/brackets-in-img-title.html')
-rw-r--r--tests/misc/brackets-in-img-title.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/misc/brackets-in-img-title.html b/tests/misc/brackets-in-img-title.html
new file mode 100644
index 0000000..3677139
--- /dev/null
+++ b/tests/misc/brackets-in-img-title.html
@@ -0,0 +1,9 @@
+<p><img alt="alt" src="local-img.jpg" />
+<img alt="alt" src="local-img.jpg" title="" />
+<img alt="alt" src="local-img.jpg" title="normal title" /></p>
+<p><img alt="alt" src="local-img.jpg" title="(just title in brackets)" />
+<img alt="alt" src="local-img.jpg" title="title with brackets (I think)" /></p>
+<p><img alt="alt" src="local-img.jpg" title="(" />
+<img alt="alt" src="local-img.jpg" title="(open only" />
+<img alt="alt" src="local-img.jpg" title=")" />
+<img alt="alt" src="local-img.jpg" title="close only)" /></p> \ No newline at end of file