Translations:Manual:HtmlArmor.php/4/en

The $1 function will take care of the escaping for you, providing you with content you know that is safe HTML.