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.
Showing
- html-test/ref/Nesting.html 15 additions, 9 deletionshtml-test/ref/Nesting.html
- html-test/ref/SpuriousSuperclassConstraints.html 2 additions, 2 deletionshtml-test/ref/SpuriousSuperclassConstraints.html
- html-test/ref/Test.html 7 additions, 7 deletionshtml-test/ref/Test.html
- html-test/src/Nesting.hs 6 additions, 0 deletionshtml-test/src/Nesting.hs
- src/Haddock/Parser.hs 10 additions, 1 deletionsrc/Haddock/Parser.hs
- test/Haddock/ParserSpec.hs 18 additions, 0 deletionstest/Haddock/ParserSpec.hs
Loading
Please register or sign in to comment