From 5aad55f920ded6a30a61a8a9b90a52da48c79040 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 21 Oct 2012 16:09:09 -0400 Subject: Fixed #153. Two spaces at end of paragraph is not a linebreak. --- tests/misc/html.html | 3 +-- tests/misc/two-spaces.html | 6 ++---- tests/safe_mode/inline-html-simple.html | 9 +++------ 3 files changed, 6 insertions(+), 12 deletions(-) (limited to 'tests') diff --git a/tests/misc/html.html b/tests/misc/html.html index c72bb81..1eb6a97 100644 --- a/tests/misc/html.html +++ b/tests/misc/html.html @@ -1,7 +1,6 @@

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 102d1db..97b54b4 100644 --- a/tests/misc/two-spaces.html +++ b/tests/misc/two-spaces.html @@ -4,14 +4,12 @@ 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.
    -

    + And this line two.

    This line has none.

  • diff --git a/tests/safe_mode/inline-html-simple.html b/tests/safe_mode/inline-html-simple.html index 981c3a2..1e5df17 100644 --- a/tests/safe_mode/inline-html-simple.html +++ b/tests/safe_mode/inline-html-simple.html @@ -29,8 +29,7 @@ Blah
    <!-- Comment -->
     

    Just plain comment, with trailing spaces on the line:

    -

    <!-- foo -->
    -

    +

    <!-- foo -->

    Code:

    <hr />
     
    @@ -38,10 +37,8 @@ Blah

    <hr>

    <hr/>

    <hr />

    -

    <hr>
    -

    -

    <hr/>
    -

    +

    <hr>

    +

    <hr/>

    <hr />

    <hr class="foo" id="bar" />

    <hr class="foo" id="bar"/>

    -- cgit v1.2.3