shahata / grunt-json-angular-translate

Grunt plugin that converts json files to angular-translate config javascript files.
8 stars 10 forks source link

Values with \n will result in \\n #3

Closed gilamran closed 10 years ago

gilamran commented 10 years ago

For example: { "KEY1": "FOO\nBAR"; }

Will result in: { "KEY1": "FOO\nBAR" }

shahata commented 10 years ago

I don't see what is wrong... \n results in \n...

shahata commented 10 years ago

do you mean that you want it to result in \n instead?

gilamran commented 10 years ago

:-) Github is changing my text The result will have double slash

shahata commented 10 years ago

I tested and it didn't result in double slash...

gilamran commented 10 years ago

Hoo, I see that my JSON includes double slash... Smartling!