Move `<meta charset="utf-8">` from headInclude.tpl to header.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 16 Feb 2021 13:22:28 +0000 (14:22 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 12 Apr 2022 09:32:09 +0000 (11:32 +0200)
see #3802
see #3998
see #4543

Co-authored-by: Sascha Moser <saschamoser1994@hotmail.de>
com.woltlab.wcf/templates/headInclude.tpl
com.woltlab.wcf/templates/header.tpl

index 744e17f52ccb7976014f198489a99efd030c956e..da2b9a2b8831c7e51d935ce40c49faeb9f8471b4 100644 (file)
@@ -1,4 +1,3 @@
-<meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <meta name="format-detection" content="telephone=no">
 {include file='headIncludeRobotsMetaTag'}
index 980c7c7e6153fa53f7f200b6e566dff90aeb10c9..b9839e5d6858e46d12f99be35968fe92fce4ddf9 100644 (file)
@@ -1,6 +1,7 @@
 {include file='documentHeader'}
 
 <head>
+       <meta charset="utf-8">
        {if !$pageTitle|isset}
                {assign var='pageTitle' value=''}
                {if (!$__wcf->isLandingPage() || !USE_PAGE_TITLE_ON_LANDING_PAGE) && $__wcf->getActivePage() != null && $__wcf->getActivePage()->getTitle()}