{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/14435","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/14435/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/14435/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/14435/events","html_url":"https://github.com/joomla/joomla-cms/issues/14435","id":213004139,"number":14435,"title":"Meta Tag validation error in validator.w3.org","user":{"login":"johnoros","id":10630048,"avatar_url":"https://avatars1.githubusercontent.com/u/10630048?v=3","gravatar_id":"","url":"https://api.github.com/users/johnoros","html_url":"https://github.com/johnoros","followers_url":"https://api.github.com/users/johnoros/followers","following_url":"https://api.github.com/users/johnoros/following{/other_user}","gists_url":"https://api.github.com/users/johnoros/gists{/gist_id}","starred_url":"https://api.github.com/users/johnoros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnoros/subscriptions","organizations_url":"https://api.github.com/users/johnoros/orgs","repos_url":"https://api.github.com/users/johnoros/repos","events_url":"https://api.github.com/users/johnoros/events{/privacy}","received_events_url":"https://api.github.com/users/johnoros/received_events","type":"User","site_admin":false},"labels":[{"id":138443932,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-09T11:05:54Z","updated_at":"2017-03-09T11:36:39Z","closed_at":null,"body":"### Steps to reproduce the issue\r\n\r\nFollow this link\r\nhttps://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.joomlage.com%2F\r\n\r\n### Expected result\r\nTo not have the error with the meta tag created by joomla cms\r\n\r\n\r\n### Actual result\r\nA document must not include both a meta element with an http-equiv attribute whose value is content-type, and a meta element with a charset attribute.\r\nFrom line 18, column 2; to line 18, column 70\r\ncom/\" />↩\t<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />↩\t<met\r\n\r\n\r\n### System information (as much as possible)\r\nJoomla 3.6.5\r\n\r\n\r\n### Additional comments\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/285328594","html_url":"https://github.com/joomla/joomla-cms/issues/14435#issuecomment-285328594","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/14435","id":285328594,"user":{"login":"C-Lodder","id":2019801,"avatar_url":"https://avatars2.githubusercontent.com/u/2019801?v=3","gravatar_id":"","url":"https://api.github.com/users/C-Lodder","html_url":"https://github.com/C-Lodder","followers_url":"https://api.github.com/users/C-Lodder/followers","following_url":"https://api.github.com/users/C-Lodder/following{/other_user}","gists_url":"https://api.github.com/users/C-Lodder/gists{/gist_id}","starred_url":"https://api.github.com/users/C-Lodder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C-Lodder/subscriptions","organizations_url":"https://api.github.com/users/C-Lodder/orgs","repos_url":"https://api.github.com/users/C-Lodder/repos","events_url":"https://api.github.com/users/C-Lodder/events{/privacy}","received_events_url":"https://api.github.com/users/C-Lodder/received_events","type":"User","site_admin":false},"created_at":"2017-03-09T11:36:39Z","updated_at":"2017-03-09T11:36:39Z","body":"`<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />` is only added when `JFactory::getDocument()->setHtml5(true);` is defined in the template's `index.php`. \r\n\r\nSo, it would seem the template you mentioned has NOT set HTML to true and have manually included `<meta charset=\"utf-8\">` in the `<head>`.\r\n\r\nThis is not a core issue, but simply a matter of the template not using the correct methods."}}
{"actor":{"display_login":"C-Lodder"}}