aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-10-05 11:58:41 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-10-05 11:58:41 +0300
commit5f7799ac8f359fbb7896037a79f2abb61be2fd2c (patch)
tree8f2a4cb1e7bd78115064fdaaa1c44bb72889bfaa /src/Text/Pandoc/Readers
parent537d917988d39401d855de003a06728711c81632 (diff)
downloadpandoc-5f7799ac8f359fbb7896037a79f2abb61be2fd2c.tar.gz
Muse reader: allow table caption to contain "+"
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index 6475669ce..d5236c5a2 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -749,7 +749,7 @@ tableParseCaption :: PandocMonad m => MuseParser m (F MuseTableElement)
tableParseCaption = try $ fmap MuseCaption . trimInlinesF . mconcat
<$ many spaceChar
<* string "|+"
- <*> many1Till inline (string "+|")
+ <*> many1Till inline (try $ string "+|")
-- ** Inline parsers