Stringify object doesn't escape newlines in strings
Closed this issue · 1 comments
peterjwest commented
For example require('stringify-object')({ foo: '\n' })
returns:
{
foo: '
'
}
\n
and \r
characters need to be escaped.
peterjwest commented
Thanks a lot 👍