From af18025a88fca52815c8669eb099ec7aacf2b571 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 033f48dc00..6fb840531f 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -1284,8 +1284,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) {