diff --git a/happstack.cabal b/happstack.cabal
--- a/happstack.cabal
+++ b/happstack.cabal
@@ -1,5 +1,5 @@
 Name:                happstack
-Version:             0.5.0
+Version:             0.5.0.2
 Synopsis:            The haskell application server stack + code generation
 Description:         The haskell application server stack
 License:             BSD3
@@ -113,9 +113,9 @@
 Executable happstack-tests
   Main-Is: Test.hs
   GHC-Options: -threaded
-  Build-depends: HUnit
   hs-source-dirs: tests, src
   if flag(tests)
     Buildable: True
+    Build-depends: HUnit
   else
     Buildable: False
diff --git a/src/HSP/Google/Analytics.hs b/src/HSP/Google/Analytics.hs
--- a/src/HSP/Google/Analytics.hs
+++ b/src/HSP/Google/Analytics.hs
@@ -12,7 +12,7 @@
 newtype UACCT = UACCT String -- ^ The UACCT provided to you by Google
     deriving (Read, Show, Eq, Ord, Typeable, Data)
 
--- |create the google analytics script tags
+-- | create the google analytics script tags
 -- NOTE: you must put the <% analytics yourUACCT %> immediately before the </body> tag
 -- See also: addAnalytics
 analytics :: (XMLGenerator m) => UACCT -> GenXMLList m
@@ -28,7 +28,7 @@
             </script>
        return [a,b]
 
--- |automatically add the google analytics scipt tags immediately before the </body> element
+-- | automatically add the google analytics scipt tags immediately before the </body> element
 -- NOTE: this function is not idepotent
 addAnalytics :: ( AppendChild m XML
                 , EmbedAsChild m XML
diff --git a/src/Happstack/Server/HStringTemplate.hs b/src/Happstack/Server/HStringTemplate.hs
--- a/src/Happstack/Server/HStringTemplate.hs
+++ b/src/Happstack/Server/HStringTemplate.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE ScopedTypeVariables, FlexibleInstances, PatternSignatures #-}
+{-# LANGUAGE ScopedTypeVariables, FlexibleInstances, ScopedTypeVariables #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 module Happstack.Server.HStringTemplate (webST) where
 
@@ -23,7 +23,7 @@
 
 -- FIXME: Caveat, assumes text/html, can this be handled at the filter level?
 instance ToMessage (StringTemplate String) where
-    toContentType _ = B.pack "text/plain;charset=utf-8"
+    toContentType _ = B.pack "text/html;charset=utf-8"
     toMessage = L.pack . render
 
 -- | @webST name attrs@ renders a name template with attrs
