aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-02-22 21:15:34 +0100
committerNiklas Haas <git@nand.wakku.to>2014-02-22 21:31:03 +0100
commitfc7fd1875d31dbfd37eaa058177e534b4fc6bc25 (patch)
tree15cad6ae08c535594a452e67cbe2ddc785ba7676 /html-test/src
parent91e2c21cfdaca7913dbfec17bdd7712c0c1ed732 (diff)
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.
Diffstat (limited to 'html-test/src')
-rw-r--r--html-test/src/Nesting.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/html-test/src/Nesting.hs b/html-test/src/Nesting.hs
index 5ab27ec0..34177442 100644
--- a/html-test/src/Nesting.hs
+++ b/html-test/src/Nesting.hs
@@ -65,6 +65,12 @@ This belongs to the list above!
> nested
> bird
> tracks
+ >
+ > another line
+ > with indentation
+
+ >nested bird tracks
+ > without leading space
* Next list
More of the indented list.