Description
Template output can be encoded for safer insertion into JavaScript strings. Web developers use it to reduce quoting mistakes and cross-site scripting risk when rendering text into scripts. It must be applied in the correct context and does not replace full output-escaping policy.