diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
-## [_Unreleased_](https://github.com/pbrisbin/yesod-markdown/compare/v0.12.6.12...main)
+## [_Unreleased_](https://github.com/pbrisbin/yesod-markdown/compare/v0.12.6.13...main)
 
 None
+
+## [v0.12.6.13](https://github.com/pbrisbin/yesod-markdown/compare/v0.12.6.12...v0.12.6.13)
+
+- Support GHCs 9.0 and 9.2
 
 ## [v0.12.6.12](https://github.com/pbrisbin/yesod-markdown/compare/v0.12.6.11...v0.12.6.12)
 
diff --git a/test/Spec.hs b/test/Spec.hs
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -1,4 +1,6 @@
 {-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
+
 module Main where
 
 import Test.Hspec
@@ -29,7 +31,9 @@
 
         let Right html = markdownToHtml markdown
 
-        let rendered = renderHtml html
+        -- Trim tag linebreaks due to non-functional difference in newer version
+        -- of xss or pandoc library.
+        let rendered = TL.replace ">\n<" "><" $ renderHtml html
             expectedPrefix = mconcat
                 [ "<h1 id=\"title\">Title</h1>"
                 , "<ul>"
@@ -58,7 +62,7 @@
 
         let Right html = markdownToHtmlTrusted markdown
 
-        renderHtml html `shouldBe` TL.concat
+        TL.replace ">\n<" "><" (renderHtml html) `shouldBe` TL.concat
             [ "<h1 id=\"title\">Title</h1>"
             , "<ul>"
             , "<li>one</li>"
diff --git a/yesod-markdown.cabal b/yesod-markdown.cabal
--- a/yesod-markdown.cabal
+++ b/yesod-markdown.cabal
@@ -1,19 +1,19 @@
-cabal-version:      1.12
-name:               yesod-markdown
-version:            0.12.6.12
-license:            GPL-2
-license-file:       LICENSE
-maintainer:         Patrick Brisbin <pbrisbin@gmail.com>
-author:             Alexander Dunlap, Patrick Brisbin
-homepage:           http://github.com/pbrisbin/yesod-markdown
-bug-reports:        https://github.com/pbrisbin/yesod-markdown/issues
-synopsis:           Tools for using markdown in a yesod application
+cabal-version:   1.18
+name:            yesod-markdown
+version:         0.12.6.13
+license:         GPL-2
+license-file:    LICENSE
+maintainer:      Patrick Brisbin <pbrisbin@gmail.com>
+author:          Alexander Dunlap, Patrick Brisbin
+homepage:        http://github.com/pbrisbin/yesod-markdown
+bug-reports:     https://github.com/pbrisbin/yesod-markdown/issues
+synopsis:        Tools for using markdown in a yesod application
 description:
     A subset of Pandoc functionality useful for markdown processing in yesod applications
 
-category:           Web, Yesod
-build-type:         Simple
-extra-source-files:
+category:        Web, Yesod
+build-type:      Simple
+extra-doc-files:
     README.md
     CHANGELOG.md
 
@@ -32,7 +32,7 @@
         blaze-html >=0.5,
         blaze-markup >=0.5,
         bytestring >=0.9,
-        directory >=1.3.6.0 && <1.4,
+        directory >=1.3.1.5 && <1.4,
         pandoc >=2.0,
         persistent >=0.9,
         shakespeare >=2.0,
@@ -51,6 +51,6 @@
     build-depends:
         base >=4.8.0 && <5,
         blaze-html >=0.5,
-        hspec >=2.7.1,
+        hspec >=2.5.5,
         text >=0.11,
         yesod-markdown -any
