aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic/auto-links.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/auto-links.html')
-rw-r--r--tests/basic/auto-links.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/auto-links.html b/tests/basic/auto-links.html
new file mode 100644
index 0000000..7481fe2
--- /dev/null
+++ b/tests/basic/auto-links.html
@@ -0,0 +1,15 @@
+<p>Link: <a href="http://example.com/">http://example.com/</a>.</p>
+<p>Https link: <a href="https://example.com">https://example.com</a></p>
+<p>Ftp link: <a href="ftp://example.com">ftp://example.com</a></p>
+<p>With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</a></p>
+<ul>
+<li>In a list?</li>
+<li><a href="http://example.com/">http://example.com/</a></li>
+<li>It should.</li>
+</ul>
+<blockquote>
+<p>Blockquoted: <a href="http://example.com/">http://example.com/</a></p>
+</blockquote>
+<p>Auto-links should not occur here: <code>&lt;http://example.com/&gt;</code></p>
+<pre><code>or here: &lt;http://example.com/&gt;
+</code></pre> \ No newline at end of file