diff --git a/tianbar.cabal b/tianbar.cabal
--- a/tianbar.cabal
+++ b/tianbar.cabal
@@ -1,5 +1,5 @@
 name:                tianbar
-version:             0.2.2.0
+version:             0.2.2.1
 synopsis:            A desktop bar based on WebKit
 description:
   A desktop bar using WebKit for rendering as much as possible.
@@ -48,8 +48,8 @@
                      , xmonad
                      , xmonad-contrib
                      , utf8-string ==0.3.*
-                     , blaze-html ==0.5.*
-                     , blaze-markup ==0.5.*
+                     , blaze-html >=0.5 && <0.8
+                     , blaze-markup >=0.5 && <0.7
   hs-source-dirs:      src
   exposed-modules:     System.Tianbar.XMonadLog
   ghc-options: -Wall -rtsopts
