From f813755c550cb0e0297e8a3ce4c77b87ed6e3571 Mon Sep 17 00:00:00 2001 From: Calvin Beck Date: Tue, 26 Aug 2014 21:56:40 -0600 Subject: Fixed exampleLine parser to accept example lines which have indentation at the start of the line. --- src/Text/Pandoc/Readers/Org.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Readers/Org.hs b/src/Text/Pandoc/Readers/Org.hs index e1c29d1e8..62421d2fb 100644 --- a/src/Text/Pandoc/Readers/Org.hs +++ b/src/Text/Pandoc/Readers/Org.hs @@ -483,7 +483,7 @@ exampleCode :: String -> Blocks exampleCode = B.codeBlockWith ("", ["example"], []) exampleLine :: OrgParser String -exampleLine = try $ string ": " *> anyLine +exampleLine = try $ skipSpaces *> string ": " *> anyLine -- Drawers for properties or a logbook drawer :: OrgParser (F Blocks) -- cgit v1.2.3