aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-01-03 23:27:49 -0500
committerWaylan Limberg <waylan@gmail.com>2010-01-03 23:27:49 -0500
commit3587cb2d6ea31723757251c0be86d12625dec7c3 (patch)
tree2ebf029f623762f8a1c74e12d55d1aa428a5d619 /tests
parentc2d50b46b536a440b6d73c6bf309bdaf03b90abb (diff)
downloadmarkdown-3587cb2d6ea31723757251c0be86d12625dec7c3.tar.gz
markdown-3587cb2d6ea31723757251c0be86d12625dec7c3.tar.bz2
markdown-3587cb2d6ea31723757251c0be86d12625dec7c3.zip
Added processing of markdown text within raw html to the 'extra' extension. Fixes Ticket 39. NOTE: I did not add a seperate extension which only adds this feature - it is only available as part of 'extra'.
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions-x-extra/raw-html.html14
-rw-r--r--tests/extensions-x-extra/raw-html.txt12
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/extensions-x-extra/raw-html.html b/tests/extensions-x-extra/raw-html.html
new file mode 100644
index 0000000..b2a7c4d
--- /dev/null
+++ b/tests/extensions-x-extra/raw-html.html
@@ -0,0 +1,14 @@
+<div>
+
+<p><em>foo</em></p>
+</div>
+
+<div class="baz">
+
+<p><em>bar</em></p>
+</div>
+
+<div>
+
+<p><em>blah</em></p>
+</div> \ No newline at end of file
diff --git a/tests/extensions-x-extra/raw-html.txt b/tests/extensions-x-extra/raw-html.txt
new file mode 100644
index 0000000..284fe0c
--- /dev/null
+++ b/tests/extensions-x-extra/raw-html.txt
@@ -0,0 +1,12 @@
+<div markdown="1">_foo_</div>
+
+<div markdown=1 class="baz">
+_bar_
+</div>
+
+<div markdown>
+
+_blah_
+
+</div>
+