From 8761cd1780a7cec6012354f79303f3ea488df7d9 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 28 Jun 2011 16:14:59 -0400 Subject: 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. --- tests/misc/html.html | 1 + tests/misc/html.txt | 2 ++ tests/misc/more_comments.html | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/misc/html.html b/tests/misc/html.html index dd4e4e8..c72bb81 100644 --- a/tests/misc/html.html +++ b/tests/misc/html.html @@ -12,6 +12,7 @@ Html with various attributes.

And of course .

this . Some funky inline stuff with markdown escaping syntax. + + And now a line with only an opening bracket: < 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 @@ - - +

Test

\ No newline at end of file -- cgit v1.2.3