Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

different source code


Go to End


2 Posts   1459 Views

Avatar
Nicolaas

Forum Moderator, 224 Posts

20 September 2007 at 3:49pm

Hi Folk

Going to http://validator.w3.org/check?uri=http%3A%2F%2Fwww.winsborough.co.nz%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&verbose=1

shows different source code than the actual site:

www.winsborough.co.nz

Do you know why this is?

Thank you

Nicolaas

Avatar
Andante

Community Member, 231 Posts

21 September 2007 at 9:49am

I believe the ContentNegotiator class does conversion between HTML and XHTML in particular circumstances. You can disable this by putting ContentNegotiator::disable(); in your _config.php.