diff --git a/BlogLiterately.cabal b/BlogLiterately.cabal
--- a/BlogLiterately.cabal
+++ b/BlogLiterately.cabal
@@ -1,5 +1,5 @@
 Name:           BlogLiterately
-Version:        0.8.4.2
+Version:        0.8.4.3
 Synopsis:       A tool for posting Haskelly articles to blogs
 Description:    Write blog posts in Markdown format, then use BlogLiterately
                 to do syntax highlighting, format ghci sessions, and upload
@@ -57,7 +57,7 @@
                    blaze-html >= 0.5 && < 0.9,
                    cmdargs >= 0.9.5 && < 0.11,
                    haxr >= 3000.11 && < 3000.12,
-                   pandoc >= 1.14 && < 1.19,
+                   pandoc >= 1.19 && < 1.20,
                    pandoc-types >= 1.16 && < 1.18,
                    pandoc-citeproc >= 0.1.2 && < 0.11,
                    highlighting-kate >= 0.5 && < 0.7,
diff --git a/CHANGES.md b/CHANGES.md
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,3 +1,8 @@
+0.8.4.3 (3 December 2016)
+-------------------------
+
+  - allow (and require) `pandoc-1.19`
+
 0.8.4.2 (18 November 2016)
 --------------------------
 
diff --git a/src/Text/BlogLiterately/Transform.hs b/src/Text/BlogLiterately/Transform.hs
--- a/src/Text/BlogLiterately/Transform.hs
+++ b/src/Text/BlogLiterately/Transform.hs
@@ -558,8 +558,7 @@
                      case math' bl of
                        ""  -> PlainMath
                        opt -> mathOption opt
-                   , writerStandalone     = True
-                   , writerTemplate       = blHtmlTemplate
+                   , writerTemplate       = Just blHtmlTemplate
                    }
     mathOption opt
       | opt `isPrefixOf` "latexmathml" ||
