From fa014ac7743836db611713ca630a4919e8d5fa3d Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 22 Aug 2008 23:38:39 -0400 Subject: Fixed Ticket 11. Disabled ``indenteTree`` for `pre` and `code` tags. Now whitespace is preserved in codeblocks. As a side-benefit, this also solved the issue with the safe-mode tests failing. All tests incorectly altered at ElementTree conversion have been corrected for this bug. Any remaining tests that fail are unrelated to this. --- tests/markdown-test/inline-html-simple.html | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 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 df98803..cb10451 100644 --- a/tests/markdown-test/inline-html-simple.html +++ b/tests/markdown-test/inline-html-simple.html @@ -4,17 +4,13 @@

This should be a code block, though:

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

As should this:

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

Now, nested:

@@ -34,18 +30,14 @@ Blah -->

Code block:

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

Just plain comment, with trailing spaces on the line:

Code:

-
-  <hr />
-
-
+
<hr />
+

Hr's:


-- cgit v1.2.3