diff --git a/happstack-server.cabal b/happstack-server.cabal
--- a/happstack-server.cabal
+++ b/happstack-server.cabal
@@ -1,5 +1,5 @@
 Name:                happstack-server
-Version:             7.9.2
+Version:             7.9.2.1
 Synopsis:            Web related tools and services.
 Description:         Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html>
 License:             BSD3
@@ -104,7 +104,7 @@
                        transformers-base      >= 0.4   && < 0.5,
                        transformers-compat    >= 0.3   && < 0.8,
                        utf8-string            >= 0.3.4 && < 1.1,
-                       xhtml,
+                       xhtml                              < 3000.4,
                        zlib
 
   hs-source-dirs:      src
