hitchhackerguide.com
esc_js
Escape single quotes, htmlspecialchar ” &, and fix line endings.Escapes text strings for echoing in JS. It is intended to be used for inline JS (in a tag attribute, for example onclick=…