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 committed Nov 26, 2024
1 parent 0778d7b commit 0117bdc
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 @@ -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) {
Expand Down

0 comments on commit 0117bdc

Please sign in to comment.