From 0117bdcd8dc0f6079c2c2f703b79c25941b2dcbb Mon Sep 17 00:00:00 2001 From: Lukas Erni Date: Tue, 26 Nov 2024 22:55:08 +0100 Subject: [PATCH] HTML5 --- code/Model/SiteTree.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index 2cf04fcb05..2aef55d820 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -1345,8 +1345,7 @@ public function MetaComponents() $charset = ContentNegotiator::config()->uninherited('encoding'); $tags['contentType'] = [ 'attributes' => [ - 'http-equiv' => 'Content-Type', - 'content' => 'text/html; charset=' . $charset, + 'charset' => $charset ], ]; if ($this->MetaDescription) {