aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2008-10-29 09:49:39 -0400
committerWaylan Limberg <waylan@gmail.com>2008-10-29 09:49:39 -0400
commitc9389e8b33b5b6771f541c1ba47bb91abd9b3f6f (patch)
tree630e27672f2a238628f6dfcb3f1701901e77b60d
parent1d5342f8c57b09bec844c102a1e4a926ede6fd64 (diff)
downloadmarkdown-c9389e8b33b5b6771f541c1ba47bb91abd9b3f6f.tar.gz
markdown-c9389e8b33b5b6771f541c1ba47bb91abd9b3f6f.tar.bz2
markdown-c9389e8b33b5b6771f541c1ba47bb91abd9b3f6f.zip
Added a more thorough test of nested inline markup. Thanks John Szakmeister.
-rw-r--r--docs/AUTHORS1
-rw-r--r--tests/misc/em-around-links.html16
-rw-r--r--tests/misc/em-around-links.txt14
3 files changed, 31 insertions, 0 deletions
diff --git a/docs/AUTHORS b/docs/AUTHORS
index f0eee56..0b4cd6e 100644
--- a/docs/AUTHORS
+++ b/docs/AUTHORS
@@ -35,6 +35,7 @@ Daniel Krech
Steward Midwinter
Jack Miller
Neale Pickett
+John Szakmeister
Malcolm Tredinnick
Ben Wilson
and many others to helped by reporting bugs
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.
+