diff --git a/pandoc.cabal b/pandoc.cabal
index d4dba30eb..a317ea31c 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -318,7 +318,7 @@ library
tagsoup >= 0.13.7 && < 0.15,
base64-bytestring >= 0.1 && < 1.1,
zlib >= 0.5 && < 0.7,
- skylighting >= 0.4 && <0.5,
+ skylighting >= 0.4.2 && <0.5,
data-default >= 0.4 && < 0.8,
temporary >= 1.1 && < 1.3,
blaze-html >= 0.5 && < 0.10,
@@ -556,7 +556,7 @@ test-suite test-pandoc
filepath >= 1.1 && < 1.5,
hslua >= 0.9 && < 0.10,
process >= 1.2.3 && < 1.7,
- skylighting >= 0.4 && < 0.5,
+ skylighting >= 0.4.2 && < 0.5,
temporary >= 1.1 && < 1.3,
Diff >= 0.2 && < 0.4,
tasty >= 0.11 && < 0.12,
diff --git a/stack.yaml b/stack.yaml
index 4b820c764..5e25529f5 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -9,7 +9,7 @@ packages:
extra-deps:
- pandoc-types-1.17.2
- hslua-0.9.2
-- skylighting-0.4.1
+- skylighting-0.4.2
- cmark-gfm-0.1.1
- QuickCheck-2.10.0.1
- tasty-quickcheck-0.9.1
diff --git a/test/lhs-test.html b/test/lhs-test.html
index 4d032c8e3..28cfdf7a4 100644
--- a/test/lhs-test.html
+++ b/test/lhs-test.html
@@ -12,7 +12,6 @@
.column{display: inline-block;}