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/misc/some-test.html | 84 +++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 43 deletions(-) (limited to 'tests/misc/some-test.html') diff --git a/tests/misc/some-test.html b/tests/misc/some-test.html index 54a3e23..e43cb94 100644 --- a/tests/misc/some-test.html +++ b/tests/misc/some-test.html @@ -1,72 +1,70 @@


Markdown

Here is a normal paragraph

    -
  1. -

    Another list +

  2. +

    Another list with a bunch of items

    -
  3. -
  4. -

    Mostly fruits

    -
      -
    1. Apple
    2. -
    3. Pare
    4. -
    -
  5. + +
  6. +

    Mostly fruits

    +
      +
    1. Apple
    2. +
    3. Pare
    4. +
    +

asdfasdfasd

-
-# This is a code example
+
# This is a code example
 import stuff
 
 Another code example
 * Lists and similar stuff
 
 > Should be ignored
-
-
+
\ No newline at end of file -- cgit v1.2.3