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/tabs.html | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'tests/markdown-test/tabs.html') diff --git a/tests/markdown-test/tabs.html b/tests/markdown-test/tabs.html index f90fb95..f302d5f 100644 --- a/tests/markdown-test/tabs.html +++ b/tests/markdown-test/tabs.html @@ -1,29 +1,23 @@

Code:

-
-this code block is indented by one tab
-
-
+
this code block is indented by one tab
+

And:

-
-    this code block is indented by two tabs
-
-
+
    this code block is indented by two tabs
+

And:

-
-+   this is an example list item
+
+   this is an example list item
     indented with tabs
 
 +   this is an example list item
     indented with spaces
-
-
+
\ No newline at end of file -- cgit v1.2.3