git.iko.soy/typeable/pandoc
on master help sign in
Org Reader: Parse multi-inline terms correctly in definition list

Closes #1649

commit5cb475c37491db4bdffebfd06e55984ff118c10b authorMatthew Pickering <matthewtpickering@gmail.com> dateSat 27 Sep 2014, 22:37 (12 years ago) parent6740a95
1 file changed+1−1
src/Text/Pandoc/Readers/Org.hs+1−1
src/Text/Pandoc/Readers/Org.hs+1−1
@@ -863,7 +863,7 @@ definitionListItem parseMarkerGetLength = try $ do
863863 line1 <- anyLineNewline
864864 blank <- option "" ("\n" <$ blankline)
865865 cont <- concat <$> many (listContinuation markerLength)
866− term' <- parseFromString inline term
866+ term' <- parseFromString parseInlines term
867867 contents' <- parseFromString parseBlocks $ line1 ++ blank ++ cont
868868 return $ (,) <$> term' <*> fmap (:[]) contents'
869869