mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
Use parseFromString' in Muse reader.
Now that it is polymorphic, this is possible, and it's a better choice because it resets last string pos.
This commit is contained in:
@@ -676,7 +676,7 @@ museGridTableRow indent indices = try $ do
|
||||
lns <- many1 $ try (indentWith indent *> museGridTableRawLine indices)
|
||||
let cols = map (unlines . map trimr) $ transpose lns
|
||||
indentWith indent *> museGridTableHeader
|
||||
sequence <$> mapM (parseFromString parseBlocks) cols
|
||||
sequence <$> mapM (parseFromString' parseBlocks) cols
|
||||
|
||||
museGridTableRawLine :: PandocMonad m
|
||||
=> [Int]
|
||||
|
||||
Reference in New Issue
Block a user