git.iko.soy/typeable/pandoc
on master help sign in
Org reader: fix asterisks-related parsing error

A parsing error was fixed which caused the org reader to fail when parsing a paragraph starting with two or more asterisks. Fixes: #4180

commite45f87a3be12086f7f642fdbb407ce5f3bfe59d4 authorAlbert Krewinkel <albert+github@zeitkraut.de> dateWed 20 Dec 2017, 18:04 (9 years ago) parentb5e62a5
1 file changed+1−1
src/Text/Pandoc/Readers/Org/Blocks.hs+1−1
src/Text/Pandoc/Readers/Org/Blocks.hs+1−1
@@ -737,7 +737,7 @@ noteBlock = try $ do
737737paraOrPlain :: PandocMonad m => OrgParser m (F Blocks)
738738paraOrPlain = try $ do
739739 -- Make sure we are not looking at a headline
740− notFollowedBy' (char '*' *> oneOf " *")
740+ notFollowedBy' headerStart
741741 ils <- inlines
742742 nl <- option False (newline *> return True)
743743 -- Read block as paragraph, except if we are in a list context and the block