You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have overall positive experience with dejs, but found a rather interesting bug: when you use \n, it will result in line break being sent to the client (which can break scripts). I found this when trying to use newline in console log and it resulted in script having invalid syntax (as double quote strings cannot be multiline).
This can be fixed by escaping it again, but I think it shouldn't be needed to do only to support ejs.
The text was updated successfully, but these errors were encountered:
Hi.
I have overall positive experience with dejs, but found a rather interesting bug: when you use \n, it will result in line break being sent to the client (which can break scripts). I found this when trying to use newline in console log and it resulted in script having invalid syntax (as double quote strings cannot be multiline).
This can be fixed by escaping it again, but I think it shouldn't be needed to do only to support ejs.
The text was updated successfully, but these errors were encountered: