From a5cc42b5e441af8f34a122624d136cfcb772c65e Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 22 Aug 2008 17:37:37 -0400 Subject: Fixed Ticket 13. Raw block-level html are no longer being inserted into

tags. Also edited numerious tests that were expecting wrong output - they now expect correct output. Note that a few **still fail** because the output before moving to ELementTree wasn't correct either. So I set the expected output to what I think it should be so we don't forget about it later. I should also note that the 'safe-mode' tests are failing. However, I believe the current expected output is correct as it is valid html. Interestingly, these tests passed prior to this fix. We'll need to special case safe-mode here. --- tests/markdown-test/inline-html-simple.html | 55 ++++++++++++++++++----------- 1 file changed, 34 insertions(+), 21 deletions(-) (limited to 'tests/markdown-test/inline-html-simple.html') diff --git a/tests/markdown-test/inline-html-simple.html b/tests/markdown-test/inline-html-simple.html index efb50dc..df98803 100644 --- a/tests/markdown-test/inline-html-simple.html +++ b/tests/markdown-test/inline-html-simple.html @@ -1,53 +1,66 @@

Here's a simple block:

-

+
foo -

+
+

This should be a code block, though:

-<div>
+  <div>
     foo
 </div>
 
 

As should this:

-<div>foo</div>
+  <div>foo</div>
 
 

Now, nested:

-

+
foo
-

+
+

This should just be an HTML comment:

-

+ +

Multiline:

-

+--> +

Code block:

-<!-- Comment -->
+  <!-- Comment -->
 
 

Just plain comment, with trailing spaces on the line:

-

+ +

Code:

-<hr />
+  <hr />
 
 

Hr's:

-


-


-


-


-


-


-


-


-


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