Open
Description
Description
According to the tutorial, we should not strip any trailing whitespaces when the first line is not indented. But we do.
To Reproduce
Steps to reproduce the behavior:
Use int
on a such string:
t :: Text
t = [int||
1
2
|]
and then see what is t
in GHCi:
ghci> t
"1\n2\n"
Note the space before 2
disappeared.
Looks like this happen only when one of lines has no indentation at all
Expected behavior
t = "1\n 2\n"