diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+0.8.2.1
+---
+* Fix pretty-printing bug with long string literals
+
 0.8.2
 ---
 * Add `+` and `-` to the set of layout-based list syntax bullets.
diff --git a/config-value.cabal b/config-value.cabal
--- a/config-value.cabal
+++ b/config-value.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                config-value
-version:             0.8.2
+version:             0.8.2.1
 synopsis:            Simple, layout-based value language similar to YAML or JSON
 license:             MIT
 license-file:        LICENSE
@@ -44,7 +44,7 @@
     array      >= 0.4     && < 0.6,
     containers >= 0.5     && < 0.7,
     pretty     >= 1.1.1.0 && < 1.2,
-    text       >= 1.2.0.4 && < 1.3
+    text       >= 1.2.0.4 && < 2.1,
 
   build-tool-depends:
     alex:alex   ^>= 3.2.4,
diff --git a/src/Config/Pretty.hs b/src/Config/Pretty.hs
--- a/src/Config/Pretty.hs
+++ b/src/Config/Pretty.hs
@@ -56,7 +56,7 @@
       | otherwise = ""
 
 prettyText :: String -> Doc
-prettyText = doubleQuotes . cat . snd . mapAccumL ppChar True
+prettyText = doubleQuotes . hcat . snd . mapAccumL ppChar True
 
   where ppChar s x
           | isDigit x = (True, if not s then text "\\&" <> char x else char x)
