Bug with escaped newlines
Opened this issue · 2 comments
sirian commented
dedent`foo\n bar`
is not the same as
dedent`foo
bar`
But both produces "foo\nbar"
dedent`foo\n bar` should be "foo\n bar"
MartinKolarik commented
This is in line with the test suite and readme. IIRC it wasn't possible to detect the difference. You can write it like this though:
dedent`
foo
bar
`
sirian commented