aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAndrew Dunning <adunning@users.noreply.github.com>2015-11-09 09:38:12 -0500
committerAndrew Dunning <adunning@users.noreply.github.com>2015-11-09 09:38:12 -0500
commit6c27e5f2c16e76a3b2cb053274627df87dd95f55 (patch)
tree92b39237b188dddb441be486dc51578d0a5ca8ac /src/Text/Pandoc
parente0c83f74f39ca94437d0b6f823c6f932aa663fe0 (diff)
downloadpandoc-6c27e5f2c16e76a3b2cb053274627df87dd95f55.tar.gz
Remove redundant `center` variable for reveal.js.
This is no longer needed with the updates to the template in https://github.com/jgm/pandoc-templates/commit/da139313d2e2ba99f4d31be6ea376dabf8c877ff
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 512638a0e..fb52256b3 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -193,9 +193,6 @@ pandocToHtml opts (Pandoc meta blocks) = do
defField "revealjs-url" ("reveal.js" :: String) $
defField "s5-url" ("s5/default" :: String) $
defField "html5" (writerHtml5 opts) $
- defField "center" (case lookupMeta "center" meta of
- Just (MetaBool False) -> False
- _ -> True) $
metadata
return (thebody, context)