aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-19 06:13:21 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-19 06:13:21 -0500
commite3c5efd182d9a80f34e3b9a770eed63c1d62b2f9 (patch)
tree077c4203b0ad851c62e839b86df5d1ead70c0579 /tests/basic
parent481e50700e269f9a56337cd9fabc3b5251958d10 (diff)
downloadmarkdown-e3c5efd182d9a80f34e3b9a770eed63c1d62b2f9.tar.gz
markdown-e3c5efd182d9a80f34e3b9a770eed63c1d62b2f9.tar.bz2
markdown-e3c5efd182d9a80f34e3b9a770eed63c1d62b2f9.zip
Partial fix for issue introduced in fix for #59
Markdown markup inside angle bracktes now gets rendered properly in all cases except when safe_mode='escape'. Also added tests.
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/inline-html-simple.html4
-rw-r--r--tests/basic/inline-html-simple.txt1
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/basic/inline-html-simple.html b/tests/basic/inline-html-simple.html
index cb10451..2159e1d 100644
--- a/tests/basic/inline-html-simple.html
+++ b/tests/basic/inline-html-simple.html
@@ -55,4 +55,6 @@ Blah
<hr class="foo" id="bar"/>
-<hr class="foo" id="bar" > \ No newline at end of file
+<hr class="foo" id="bar" >
+
+<p><some <a href="http://example.com">weird</a> stuff></p> \ No newline at end of file
diff --git a/tests/basic/inline-html-simple.txt b/tests/basic/inline-html-simple.txt
index 14aa2dc..7210750 100644
--- a/tests/basic/inline-html-simple.txt
+++ b/tests/basic/inline-html-simple.txt
@@ -67,3 +67,4 @@ Hr's:
<hr class="foo" id="bar" >
+<some [weird](http://example.com) stuff>