Skip to content
Snippets Groups Projects
Commit a6d9016f authored by Demian Katz's avatar Demian Katz
Browse files

Character set declaration should be as early as possible in code.

- Helps avoid Firefox double-load glitch in some cases.
parent 6d5db0da
No related merge requests found
......@@ -64,7 +64,7 @@ class HeadThemeResources extends \Zend\View\Helper\AbstractHelper
{
// Set up encoding:
$headMeta = $this->getView()->plugin('headmeta');
$headMeta()->appendHttpEquiv(
$headMeta()->prependHttpEquiv(
'Content-Type', 'text/html; charset=' . $this->container->getEncoding()
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment