summaryrefslogtreecommitdiff
path: root/src/GF/Infra/CompactPrint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/Infra/CompactPrint.hs')
-rw-r--r--src/GF/Infra/CompactPrint.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GF/Infra/CompactPrint.hs b/src/GF/Infra/CompactPrint.hs
index ca2452de6..486c9e183 100644
--- a/src/GF/Infra/CompactPrint.hs
+++ b/src/GF/Infra/CompactPrint.hs
@@ -5,8 +5,7 @@ compactPrint = compactPrintCustom keywordGF (const False)
compactPrintGFCC = compactPrintCustom (const False) keywordGFCC
--- FIXME: using words is not safe, since this is run on UTF-8 encoded data.
-compactPrintCustom pre post = id -- dps . concat . map (spaceIf pre post) . words
+compactPrintCustom pre post = dps . concat . map (spaceIf pre post) . words
dps = dropWhile isSpace