From 4423f81079db93a0d229dc6c9715a3e851f4b789 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 21 Jan 2018 10:07:54 -0800 Subject: [PATCH] Require tagsoup 0.14.3 - closes #4282. This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags. --- pandoc.cabal | 2 +- stack.lts9.yaml | 1 + stack.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandoc.cabal b/pandoc.cabal index 148a3a81c..b20b51842 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -365,7 +365,7 @@ library pandoc-types >= 1.17.3 && < 1.18, aeson >= 0.7 && < 1.3, aeson-pretty >= 0.8 && < 0.9, - tagsoup >= 0.14.2 && < 0.15, + tagsoup >= 0.14.3 && < 0.15, base64-bytestring >= 0.1 && < 1.1, zlib >= 0.5 && < 0.7, skylighting >= 0.5.1 && < 0.7, diff --git a/stack.lts9.yaml b/stack.lts9.yaml index c15685846..4979ca470 100644 --- a/stack.lts9.yaml +++ b/stack.lts9.yaml @@ -27,4 +27,5 @@ extra-deps: - tagsoup-0.14.2 - hs-bibutils-6.2.0.1 - pandoc-citeproc-0.14 +- tagsoup-0.14.3 resolver: lts-9.14 diff --git a/stack.yaml b/stack.yaml index d1dcee04b..7ac48ffcc 100644 --- a/stack.yaml +++ b/stack.yaml @@ -19,6 +19,7 @@ extra-deps: - ansi-terminal-0.7.1.1 - tasty-1.0.0.1 - texmath-0.10.1.1 +- tagsoup-0.14.3 ghc-options: "$locals": -fhide-source-paths resolver: lts-10.3