From 22081212a202c7a28325d05d985aace00bdc64c1 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 18 Nov 2011 08:30:50 -0500 Subject: Fixed #51. Removed recussion from footnote preproccessor. Also refactors the code to provide a few other minor improvements s that output more closely matches php's output. Thus the changes in the tests. --- tests/extensions/extra/footnote.html | 6 ++---- tests/extensions/extra/footnote_placeholder.html | 3 +-- tests/extensions/extra/named_markers.html | 12 ++++-------- 3 files changed, 7 insertions(+), 14 deletions(-) (limited to 'tests') diff --git a/tests/extensions/extra/footnote.html b/tests/extensions/extra/footnote.html index d7d8b92..962967d 100644 --- a/tests/extensions/extra/footnote.html +++ b/tests/extensions/extra/footnote.html @@ -13,14 +13,12 @@
  • -

    This footnote is a blockquote. -

    +

    This footnote is a blockquote.

  • -

    A simple oneliner. - 

    +

    A simple oneliner. 

  • A footnote with multiple paragraphs.

    diff --git a/tests/extensions/extra/footnote_placeholder.html b/tests/extensions/extra/footnote_placeholder.html index 7aaf4b2..9c89391 100644 --- a/tests/extensions/extra/footnote_placeholder.html +++ b/tests/extensions/extra/footnote_placeholder.html @@ -2,8 +2,7 @@
    1. -

      A Footnote. - 

      +

      A Footnote. 

    diff --git a/tests/extensions/extra/named_markers.html b/tests/extensions/extra/named_markers.html index 6996b5f..f643b7b 100644 --- a/tests/extensions/extra/named_markers.html +++ b/tests/extensions/extra/named_markers.html @@ -5,20 +5,16 @@ oddly3 numbered
    1. -

      Footnote marked foo. - 

      +

      Footnote marked foo

    2. -

      This one is marked bar. - 

      +

      This one is marked bar

    3. -

      A numbered footnote. - 

      +

      A numbered footnote. 

    4. -

      The last one. - 

      +

      The last one. 

    \ No newline at end of file -- cgit v1.2.3