HTML it is not actually valid in 2.0.1
Reported by Imran | October 4th, 2011 @ 03:33 PM | in 2.0.2 (closed)
In framework/core/subsystems/expTheme.php around line 300 function headerInfo change from:
if(empty($config['xhtml'])||($config['xhtml']==true)){
define("XHTML",1);define("XHTML_CLOSING",""); //default
} else {
define("XHTML",0); define("XHTML_CLOSING","/");
}
to:
if(isset($config['xhtml']) && $config['xhtml']==true){
define("XHTML",1);define("XHTML_CLOSING","/"); //default
} else {
define("XHTML",0); define("XHTML_CLOSING","");
}
Also in expTheme for favicon.ico include, at the end replace with:
'.XHTML_CLOSING.'
In framework/core/subsystems/expCSS.php line 106 change the end to:
$link . '"' . XHTML_CLOSING.'>'."\r\n";
Comments and changes to this ticket
-
expNinja October 11th, 2011 @ 12:44 AM
- Milestone set to 2.0.2
- State changed from new to resolved
- Milestone order changed from 111 to 0
(from [805ef3619b406258800158c24a353c151a719ee2]) Fixes several XHTML validation issues, Opera browser mis-detected as mobile device, etc... [#349 state:resolved milestone:2.0.2] [#350 state:resolved milestone:2.0.2] [#351 state:resolved milestone:2.0.2] https://github.com/exponentcms/exponent-cms/commit/805ef3619b406258...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
People watching this ticket
Referenced by
- 349 HTML Validator crashes in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...
- 351 Opera desktop mistakenly identified as mobile in 2.0.1 (from [805ef3619b406258800158c24a353c151a719ee2]) Fixes s...