aboutsummaryrefslogtreecommitdiffstats
path: root/MarkdownTest/Tests/Images.html
diff options
context:
space:
mode:
authorYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:30:10 -0700
committerYuri Takhteyev <yuri@freewisdom.org>2008-08-26 00:30:10 -0700
commit77aed9225bc0fbb90459a2ead7d99de9aaf1796f (patch)
tree651a09878a967cd6f337fc4261899db067b7b32c /MarkdownTest/Tests/Images.html
parenta1e606c995113ef8c65efc75cf36d2d4e9103205 (diff)
downloadmarkdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.gz
markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.tar.bz2
markdown-77aed9225bc0fbb90459a2ead7d99de9aaf1796f.zip
Adding old MarkdownTest.pl tests.
Diffstat (limited to 'MarkdownTest/Tests/Images.html')
-rw-r--r--MarkdownTest/Tests/Images.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/MarkdownTest/Tests/Images.html b/MarkdownTest/Tests/Images.html
new file mode 100644
index 0000000..217f028
--- /dev/null
+++ b/MarkdownTest/Tests/Images.html
@@ -0,0 +1,21 @@
+<p><img src="/path/to/img.jpg" alt="Alt text" title="" /></p>
+
+<p><img src="/path/to/img.jpg" alt="Alt text" title="Optional title" /></p>
+
+<p>Inline within a paragraph: <a href="/url/">alt text</a>.</p>
+
+<p><img src="/url/" alt="alt text" title="title preceded by two spaces" /></p>
+
+<p><img src="/url/" alt="alt text" title="title has spaces afterward" /></p>
+
+<p><img src="/url/" alt="alt text" title="" /></p>
+
+<p><img src="/url/" alt="alt text" title="with a title" />.</p>
+
+<p><img src="" alt="Empty" title="" /></p>
+
+<p><img src="http://example.com/(parens).jpg" alt="this is a stupid URL" title="" /></p>
+
+<p><img src="/url/" alt="alt text" /></p>
+
+<p><img src="/url/" alt="alt text" title="Title here" /></p>