From 1656abd114d7aae059e15302a9cc36f81154fe01 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 4 Sep 2008 00:20:54 -0400 Subject: Moved prettifyETree into a Postprocessor and added code to append all '
' tags with a linebreak. Also fixed a minor bug were the '
' tags contained 2 spaces instead of one before the slash (i.e. '
'). Note that by moving to a Postprocessor, anyone can override with their own code which does what they want (i.e. add indentation) with the extension api. --- tests/misc/html.html | 3 ++- tests/misc/two-spaces.html | 15 ++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/misc/html.html b/tests/misc/html.html index 84fe763..81ac5ee 100644 --- a/tests/misc/html.html +++ b/tests/misc/html.html @@ -1,6 +1,7 @@

Block level html

-

Some inline stuff.

+

Some inline stuff.
+

Now some arbitrary tags.

More block level html.
diff --git a/tests/misc/two-spaces.html b/tests/misc/two-spaces.html index b0e872c..83837d2 100644 --- a/tests/misc/two-spaces.html +++ b/tests/misc/two-spaces.html @@ -1,14 +1,19 @@ -

This line has two spaces at the end
but this one has none -but this line has three
and this is the second from last line +

This line has two spaces at the end
+but this one has none +but this line has three
+and this is the second from last line in this test message

  • -

    This list item has two spaces.

    +

    This list item has two spaces.
    +

  • This has none. -This line has three.
    This line has none. -And this line two.

    +This line has three.
    +This line has none. +And this line two.
    +

    This line has none.

  • -- cgit v1.2.3