#350 ✓resolved
Imran

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Referenced by

Pages