Merge pull request #2506 from adunning/patch-1

Remove redundant `center` variable for reveal.js.
This commit is contained in:
John MacFarlane 2015-11-19 21:03:31 -08:00
commit fdc81be7d2

View file

@ -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)