@@ -868,7 +868,10 @@ rawListItem :: PandocMonad m
868rawListItem start = try $ do
868rawListItem start = try $ do
870 first <- listLineCommon
870 first <- listLineCommon
871− rest <- many (notFollowedBy listStart >> notFollowedBy blankline >> listLine)
871+ rest <- many (do notFollowedBy listStart
872+ notFollowedBy (() <$ codeBlockFenced)
873+ notFollowedBy blankline
872 blanks <- many blankline
875 blanks <- many blankline
873 return $ unlines (first:rest) ++ blanks
876 return $ unlines (first:rest) ++ blanks