From: Edgaras Date: Thu, 4 Jan 2018 21:57:56 +0000 (+0200) Subject: Bug 1428166 - Move to start of X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0cb3c9adc3d0666193510ee7c2201d4c56c4faf;p=thirdparty%2Fbugzilla.git Bug 1428166 - Move to start of The element declaring the encoding must be inside the element and within the first 1024 bytes of the HTML as some browsers only look at those bytes before choosing an encoding. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset --- diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 5d00b7216..aa6d1cecc 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -94,6 +94,10 @@ + [% IF Param('utf8') %] + + [% END %] + [%- js_BUGZILLA = { param => { maxusermatches => Param('maxusermatches'), @@ -129,10 +133,6 @@ id="bugzilla-global" data-bugzilla="[% json_encode(js_BUGZILLA) FILTER html %]"> [% title %] - [% IF Param('utf8') %] - - [% END %] - [% IF no_index %] [% END %]