Translations:DOM-based XSS/31/en

The $1 method can be used to set the text body of an element, and will correctly escape any HTML.