aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/brackets-in-img-title.txt
diff options
context:
space:
mode:
authorDarell Tan <darell.tan@gmail.com>2014-01-05 21:43:01 +0800
committerDarell Tan <darell.tan@gmail.com>2014-01-05 22:20:44 +0800
commitdb12a327339d71cfd1b50a1f85bb158095b2fbae (patch)
tree65a9ceeecacfcc3dc89d278135c1483f931dc18b /tests/misc/brackets-in-img-title.txt
parentb6ed501695ea5f8029a228686f84c163c0cdc50b (diff)
downloadmarkdown-db12a327339d71cfd1b50a1f85bb158095b2fbae.tar.gz
markdown-db12a327339d71cfd1b50a1f85bb158095b2fbae.tar.bz2
markdown-db12a327339d71cfd1b50a1f85bb158095b2fbae.zip
Fixed parsing of brackets within inline image titles.
Diffstat (limited to 'tests/misc/brackets-in-img-title.txt')
-rw-r--r--tests/misc/brackets-in-img-title.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/misc/brackets-in-img-title.txt b/tests/misc/brackets-in-img-title.txt
new file mode 100644
index 0000000..01fcd4e
--- /dev/null
+++ b/tests/misc/brackets-in-img-title.txt
@@ -0,0 +1,12 @@
+![alt](local-img.jpg)
+![alt](local-img.jpg "")
+![alt](local-img.jpg "normal title")
+
+![alt](local-img.jpg "(just title in brackets)")
+![alt](local-img.jpg "title with brackets (I think)")
+
+![alt](local-img.jpg "(")
+![alt](local-img.jpg "(open only")
+![alt](local-img.jpg ")")
+![alt](local-img.jpg "close only)")
+