diff --git a/Yesod/RST.hs b/Yesod/RST.hs
--- a/Yesod/RST.hs
+++ b/Yesod/RST.hs
@@ -28,7 +28,7 @@
 import Text.Hamlet           (hamlet, Html)
 import Database.Persist      (PersistField)
 
-import Text.Blaze            (preEscapedString, preEscapedText)
+import Text.Blaze.Html       (preEscapedToMarkup)
 import Text.Pandoc
 import Text.HTML.SanitizeXSS (sanitizeBalance)
 
@@ -92,11 +92,11 @@
 
 -- | Converts the intermediate Pandoc type to Html. Sanitizes HTML.
 writePandoc :: WriterOptions -> Pandoc -> Html
-writePandoc wo = preEscapedText . sanitizeBalance . pack . writeHtmlString wo
+writePandoc wo = preEscapedToMarkup . sanitizeBalance . pack . writeHtmlString wo
 
 -- | Skips the sanitization and its required conversion to Text
 writePandocTrusted :: WriterOptions -> Pandoc -> Html
-writePandocTrusted wo = preEscapedString . writeHtmlString wo
+writePandocTrusted wo = preEscapedToMarkup . writeHtmlString wo
 
 -- | Parses Markdown into the intermediate Pandoc type
 parseRST :: ParserState -> RST -> Pandoc
diff --git a/yesod-rst.cabal b/yesod-rst.cabal
--- a/yesod-rst.cabal
+++ b/yesod-rst.cabal
@@ -1,5 +1,5 @@
 name:                yesod-rst
-version:             0.2
+version:             0.2.1
 synopsis:            Tools for using reStructuredText (RST) in a yesod application
 description:         A subset of pandoc functionality useful for RST processing in yesod applications
 homepage:            http://github.com/pSub/yesod-rst
@@ -17,7 +17,7 @@
   build-depends: base               >= 4     && < 5
                , text               >= 0.11  && < 0.12
                , pandoc             >= 1.9   && < 1.10
-               , blaze-html         >= 0.4   && < 0.5
+               , blaze-html         >= 0.5   && < 0.6
                , xss-sanitize       >= 0.3.1 && < 0.4
                , directory
                , yesod-core         >= 1.0   && < 1.1
@@ -35,7 +35,6 @@
               MultiParamTypeClasses
               GeneralizedNewtypeDeriving
 
-source-repository this
+source-repository head
   type:         git
   location:     git://github.com/pSub/yesod-rst.git
-  tag:          0.2
