aboutsummaryrefslogtreecommitdiffstats
path: root/MarkdownTest/Tests/Images.html
diff options
context:
space:
mode:
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>