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:
parent
21c44da17a
commit
1dec5bacaa
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ museGridTableRow indent indices = try $ do
|
||||||
lns <- many1 $ try (indentWith indent *> museGridTableRawLine indices)
|
lns <- many1 $ try (indentWith indent *> museGridTableRawLine indices)
|
||||||
let cols = map (unlines . map trimr) $ transpose lns
|
let cols = map (unlines . map trimr) $ transpose lns
|
||||||
indentWith indent *> museGridTableHeader
|
indentWith indent *> museGridTableHeader
|
||||||
sequence <$> mapM (parseFromString parseBlocks) cols
|
sequence <$> mapM (parseFromString' parseBlocks) cols
|
||||||
|
|
||||||
museGridTableRawLine :: PandocMonad m
|
museGridTableRawLine :: PandocMonad m
|
||||||
=> [Int]
|
=> [Int]
|
||||||
|
|
Loading…
Reference in a new issue