/** * HTML-decodes static text. * This method overrides parent implementation. * @param mixed object to be added as body content */ public function addParsedObject($object) { if (is_string($object)) { $object = html_entity_decode($object, ENT_QUOTES, 'UTF-8'); } parent::addParsedObject($object); }