Skip to content

Commit

Permalink
HTML5 <meta charset="utf-8">
Browse files Browse the repository at this point in the history
  • Loading branch information
lerni authored and GuySartorelli committed Dec 13, 2024
1 parent 5336a99 commit af18025
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/Model/SiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit af18025

Please sign in to comment.