aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-01-22 13:26:55 -0700
committerGitHub <noreply@github.com>2018-01-22 13:26:55 -0700
commitbe929bcc80466623462102a39dd98726bb6c7781 (patch)
tree8f7d30a529b274e72e68b19f9bc1afd8a30bd153 /src
parentf8640fdff0ead507914c402109b02a778ca1c4c3 (diff)
parent71bbadb7936e68673a46f7391caf446e35c81205 (diff)
downloadpandoc-be929bcc80466623462102a39dd98726bb6c7781.tar.gz
Merge pull request #4291 from hmenke/xtables
ConTeXt writer: xtables: correct wrong usage of caption
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/ConTeXt.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs
index 64b7d2c53..bca00b55a 100644
--- a/src/Text/Pandoc/Writers/ConTeXt.hs
+++ b/src/Text/Pandoc/Writers/ConTeXt.hs
@@ -267,7 +267,7 @@ blockToConTeXt (Table caption aligns widths heads rows) = do
return $ "\\startplacetable" <> brackets (
if null caption
then "location=none"
- else "caption=" <> braces captionText
+ else "title=" <> braces captionText
) $$ body $$ "\\stopplacetable" <> blankline
tableToConTeXt :: PandocMonad m => Tabl -> Doc -> [Doc] -> WM m Doc