From fc7fd1875d31dbfd37eaa058177e534b4fc6bc25 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 22 Feb 2014 21:15:34 +0100 Subject: Strip a single leading space from bird tracks (#201) This makes bird tracks in the form > foo > bar > bat parse as if they had been written as >foo >bar >bat ie. without the leading whitespace in front of every line. Ideally we also want to look into how leading whitespace affects code blocks written using the @ @ syntax, which are currently unaffected by this patch. --- html-test/ref/Nesting.html | 24 +++++++++++++++--------- html-test/ref/SpuriousSuperclassConstraints.html | 4 ++-- html-test/ref/Test.html | 14 +++++++------- html-test/src/Nesting.hs | 6 ++++++ 4 files changed, 30 insertions(+), 18 deletions(-) (limited to 'html-test') diff --git a/html-test/ref/Nesting.html b/html-test/ref/Nesting.html index 0d692791..41787675 100644 --- a/html-test/ref/Nesting.html +++ b/html-test/ref/Nesting.html @@ -166,9 +166,9 @@ the presence of this text pushes it out of nesting back to the top.
  • Beginning of list This belongs to the list above!
     nested
    - bird
    - tracks
    nested +bird +tracks + +another line + with indentation
    nested bird tracks
    +  without leading space