aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/em-around-links.html16
-rw-r--r--tests/misc/em-around-links.txt14
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/misc/em-around-links.html b/tests/misc/em-around-links.html
new file mode 100644
index 0000000..06bfa8e
--- /dev/null
+++ b/tests/misc/em-around-links.html
@@ -0,0 +1,16 @@
+<h1>Title</h1>
+
+<ul>
+ <li><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some
+ great folks</em> - This <em>does</em> work as expected.</li>
+ <li><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some
+ great folks</em> - This <em>does</em> work as expected.</li>
+ <li><a href="http://www.freewisdom.org/projects/python-markdown/"><em>Python in Markdown</em></a> by some
+ great folks - This <em>does</em> work as expected.</li>
+ <li><a href="http://www.freewisdom.org/projects/python-markdown/"><em>Python in Markdown</em></a> <em>by some
+ great folks</em> - This <em>does</em> work as expected.</li>
+</ul>
+
+<p><em><a href="http://www.freewisdom.org/projects/python-markdown/">Python in Markdown</a> by some
+ great folks</em> - This <em>does</em> work as expected.</p>
+
diff --git a/tests/misc/em-around-links.txt b/tests/misc/em-around-links.txt
new file mode 100644
index 0000000..5b15be4
--- /dev/null
+++ b/tests/misc/em-around-links.txt
@@ -0,0 +1,14 @@
+# Title
+
+ - *[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some
+ great folks* - This *does* work as expected.
+ - _[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some
+ great folks_ - This *does* work as expected.
+ - [_Python in Markdown_](http://www.freewisdom.org/projects/python-markdown/) by some
+ great folks - This *does* work as expected.
+ - [_Python in Markdown_](http://www.freewisdom.org/projects/python-markdown/) _by some
+ great folks_ - This *does* work as expected.
+
+_[Python in Markdown](http://www.freewisdom.org/projects/python-markdown/) by some
+great folks_ - This *does* work as expected.
+