aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/more_comments.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-28 16:14:59 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-28 16:16:55 -0400
commit8761cd1780a7cec6012354f79303f3ea488df7d9 (patch)
tree5626a0628ec156dbbf087dce98e6f1cf2e854906 /tests/misc/more_comments.html
parent9b26d2b5e567f0c18ed9ef88ee4f3d82bb4092cf (diff)
downloadmarkdown-8761cd1780a7cec6012354f79303f3ea488df7d9.tar.gz
markdown-8761cd1780a7cec6012354f79303f3ea488df7d9.tar.bz2
markdown-8761cd1780a7cec6012354f79303f3ea488df7d9.zip
Fixed #28. Inline raw html is now enclosed in p tags. This used to work. Somehow we stopped checking for a single inline html element when swapping back in raw html. Added a test. Also patched a weird (invalid) comment test. Seeing the input is not really a valid html comment - it doesn't matter what we do with it. I suppose we test it to make sure it doesn't break the parser. Actual output is not so important. As a side note, this has exposed a preexisting (unrelated) bug with the extra extension's handling of raw html. That test is failing following this fix.
Diffstat (limited to 'tests/misc/more_comments.html')
-rw-r--r--tests/misc/more_comments.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/misc/more_comments.html b/tests/misc/more_comments.html
index 97074d5..99f5781 100644
--- a/tests/misc/more_comments.html
+++ b/tests/misc/more_comments.html
@@ -2,6 +2,5 @@
<!asd@asdfd.com>
-<asd!@asdfd.com>
-
+<p><asd!@asdfd.com></p>
<p>Test</p> \ No newline at end of file