public function htmlEscape()
    {
        if ($this->getParameter('value') == null)
            return;

        return str_replace('%', '&#37;', htmlentities($this->getParameter('value'), ENT_QUOTES, 'UTF-8', false));
    }