diff --git a/test/xmlhtml-testsuite.cabal b/test/xmlhtml-testsuite.cabal
--- a/test/xmlhtml-testsuite.cabal
+++ b/test/xmlhtml-testsuite.cabal
@@ -21,7 +21,7 @@
     test-framework             >= 0.6      && <0.7,
     test-framework-hunit       >= 0.2.7    && <0.3,
     test-framework-quickcheck2 >= 0.2.12.1 && <0.3,
-    text                       >= 0.11     && <0.12,
+    text                       >= 0.11     && <1.2,
     unordered-containers       >= 0.1.4    && <0.3
 
   ghc-options: -Wall -fhpc -fwarn-tabs -funbox-strict-fields -threaded
diff --git a/xmlhtml.cabal b/xmlhtml.cabal
--- a/xmlhtml.cabal
+++ b/xmlhtml.cabal
@@ -1,5 +1,5 @@
 Name:                xmlhtml
-Version:             0.2.3
+Version:             0.2.3.1
 Synopsis:            XML parser and renderer with HTML 5 quirks mode
 Description:         Contains renderers and parsers for both XML and HTML 5
                      document fragments, which share data structures so that
@@ -826,7 +826,7 @@
                        bytestring           >= 0.9   && < 0.11,
                        containers           >= 0.3   && < 0.6,
                        parsec               >= 3.1.2 && < 3.2,
-                       text                 >= 0.11  && < 0.12,
+                       text                 >= 0.11  && < 1.2,
                        unordered-containers >= 0.1.4 && < 0.3
 
   extensions:
