From 9009bda1792e1db5d019d63c16f40ce9df269724 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 13 Jan 2020 07:51:32 -0800
Subject: [PATCH] Update versions for doclayout, doctemplates.

Closes #6031.  The new version of doclayout fixes a
memory leak that affected `--include-in-header` with
large files (and possibly other cases involving extremely
long lines).
---
 pandoc.cabal | 2 +-
 stack.yaml   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index 3ab229c54..49f6d65c0 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -424,7 +424,7 @@ library
                  case-insensitive >= 1.2 && < 1.3,
                  unicode-transforms >= 0.3 && < 0.4,
                  HsYAML >= 0.2 && < 0.3,
-                 doclayout >= 0.2.0.1 && < 0.3,
+                 doclayout >= 0.3 && < 0.4,
                  ipynb >= 0.1 && < 0.2,
                  attoparsec >= 0.12 && < 0.14,
                  text-conversions >= 0.3 && < 0.4,
diff --git a/stack.yaml b/stack.yaml
index 8356b126f..b407c3843 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -18,12 +18,12 @@ extra-deps:
 - skylighting-0.8.3
 - skylighting-core-0.8.3
 - regex-pcre-builtin-0.95.0.8.8.35
-- doclayout-0.2.0.1
+- doclayout-0.3
 - emojis-0.1
 - jira-wiki-markup-1.0.0
 - HsYAML-0.2.0.0
 - HsYAML-aeson-0.2.0.0
-- doctemplates-0.8
+- doctemplates-0.8.1
 - pandoc-citeproc-0.16.4.1
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules