it’s changing line breaks to /n so remove them all beforehand, see if that fixes it…
if esc_js doesn’t work then look at esc_attr, have a look at all the sanitization classes in WP.
it’s changing line breaks to /n so remove them all beforehand, see if that fixes it…
if esc_js doesn’t work then look at esc_attr, have a look at all the sanitization classes in WP.