Skip to content

Commit af18025

Browse files
lerniGuySartorelli
authored andcommitted
HTML5 <meta charset="utf-8">
1 parent 5336a99 commit af18025

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

code/Model/SiteTree.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,7 @@ public function MetaComponents()
12841284
$charset = ContentNegotiator::config()->uninherited('encoding');
12851285
$tags['contentType'] = [
12861286
'attributes' => [
1287-
'http-equiv' => 'Content-Type',
1288-
'content' => 'text/html; charset=' . $charset,
1287+
'charset' => $charset
12891288
],
12901289
];
12911290
if ($this->MetaDescription) {

0 commit comments

Comments
 (0)