diff --git a/pandoc.cabal b/pandoc.cabal
index 226b6dd04..a3c8d95ff 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -312,7 +312,7 @@ Executable pandoc
   else
     Build-depends: base >= 3 && < 4
   if flag(highlighting)
-    Build-depends: highlighting-kate >= 0.2.9 && < 0.3
+    Build-depends: highlighting-kate >= 0.2.9 && < 0.4
     cpp-options:   -D_HIGHLIGHTING
   if impl(ghc >= 6.12)
     Ghc-Options:   -O2 -Wall -fno-warn-unused-do-bind