Don't encode '\n' for now

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2023-12-01 16:26:08 -08:00
parent 66fbfd1962
commit faa65ff77b

View File

@ -14,8 +14,6 @@ decodeStr str =
let
go l =
case l of
'\\' :: 'n' :: rest -> '\n' :: go rest
'\\' :: '\\' :: rest -> '\\' :: go rest
'\\' :: '"' :: rest -> '"' :: go rest
'\\' :: c :: rest -> c :: go rest
c :: rest -> c :: go rest