From cbc3f034adcce14548dc1a2c0569f349f6023a8c Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sat, 27 Feb 2021 12:52:23 -0800
Subject: [PATCH] Use skylighting 0.10.4.

This version of skylighting uses xml-conduit rather than hxt.
This speeds up parsing of XML syntax definitions fourfold, and
removes four packages from pandoc's dependency graph:

hxt-charproperties
hxt-unicode
hxt-regex-xmlschema
hxt
---
 pandoc.cabal | 4 ++--
 stack.yaml   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index 0f5e8312f..83c5c0120 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -480,8 +480,8 @@ library
                  random                >= 1        && < 1.2,
                  safe                  >= 0.3      && < 0.4,
                  scientific            >= 0.3      && < 0.4,
-                 skylighting           >= 0.10.3   && < 0.11,
-                 skylighting-core      >= 0.10.3   && < 0.11,
+                 skylighting           >= 0.10.4   && < 0.11,
+                 skylighting-core      >= 0.10.4   && < 0.11,
                  split                 >= 0.2      && < 0.3,
                  syb                   >= 0.1      && < 0.8,
                  tagsoup               >= 0.14.6   && < 0.15,
diff --git a/stack.yaml b/stack.yaml
index 88109f26c..d613ff896 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -13,8 +13,8 @@ extra-deps:
 - commonmark-pandoc-0.2.0.1
 - tasty-bench-0.2.1
 - citeproc-0.3.0.7
-- skylighting-0.10.3
-- skylighting-core-0.10.3
+- skylighting-0.10.4
+- skylighting-core-0.10.4
 #- citeproc:
 #  git: https://github.com/jgm/citeproc.git
 #  commit: feb3b7580c6738eec3b23921f7c1739cfba611aa