Fixed exampleLine parser to accept example lines which have indentation at the start of the line.
commitf813755c550cb0e0297e8a3ce4c77b87ed6e3571
authorCalvin Beck <hobbes@ualberta.ca>
dateTue 26 Aug 2014, 21:56 (12 years ago)
parent9f8051d
src/Text/Pandoc/Readers/Org.hs+1−1
@@ -483,7 +483,7 @@ exampleCode :: String -> Blocks
483483exampleCode = B.codeBlockWith ("", ["example"], [])
484484
485485exampleLine :: OrgParser String
486−exampleLine = try $ string ": " *> anyLine
486+exampleLine = try $ skipSpaces *> string ": " *> anyLine
487487
488488-- Drawers for properties or a logbook
489489drawer :: OrgParser (F Blocks)