Update header.tpl

Fixed double escape and html special chars issue

Affected variable arrive to template already escaped, so we need to unescape them, then assure to protect single quotes