aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Dirolf <mike@dirolf.com>2012-01-12 23:20:45 -0500
committerMike Dirolf <mike@dirolf.com>2012-01-12 23:20:45 -0500
commit425fde141f17973aea0a3a85e44632fe18737996 (patch)
tree68dbb0f1ac105795fe7971115eb31a50a21a9404 /tests
parent4c7c189ae3d32f0cc947c78c1b116539b2ca0bf6 (diff)
downloadmarkdown-425fde141f17973aea0a3a85e44632fe18737996.tar.gz
markdown-425fde141f17973aea0a3a85e44632fe18737996.tar.bz2
markdown-425fde141f17973aea0a3a85e44632fe18737996.zip
attempt at a fix for issue w/ MD links inside of html tagish stuff with safe mode on.
Diffstat (limited to 'tests')
-rw-r--r--tests/html4_safe/link.html1
-rw-r--r--tests/html4_safe/link.txt1
-rw-r--r--tests/html4_safe/test.cfg3
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/html4_safe/link.html b/tests/html4_safe/link.html
new file mode 100644
index 0000000..642f4be
--- /dev/null
+++ b/tests/html4_safe/link.html
@@ -0,0 +1 @@
+<p>&lt;here <a href="http://gmail.com">gmail.com</a> is a link&gt;</p> \ No newline at end of file
diff --git a/tests/html4_safe/link.txt b/tests/html4_safe/link.txt
new file mode 100644
index 0000000..28331a7
--- /dev/null
+++ b/tests/html4_safe/link.txt
@@ -0,0 +1 @@
+<here [gmail.com](http://gmail.com) is a link>
diff --git a/tests/html4_safe/test.cfg b/tests/html4_safe/test.cfg
new file mode 100644
index 0000000..66f7bf0
--- /dev/null
+++ b/tests/html4_safe/test.cfg
@@ -0,0 +1,3 @@
+[DEFAULT]
+output_format=html4
+safe_mode=escape