10up/10up-experience

Warning message includes "nn" instead of newline

Closed this issue · 0 comments

mestes 2018-08-17 at 11 05 19 am

When the warning message gets passed through esc_js(), it's stripping out the slashes that are part of the escape sequence for newlines, resulting in "dashboard.nnAre you sure" instead of putting the AYS on a new line.