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.

Template Questions /

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

[solved] self closing base and metatags

Go to End

2 Posts   1334 Views


Community Member, 501 Posts

13 January 2009 at 8:32am

Edited: 17/01/2009 3:53am


I'm serving my templates as HTML4 strict instead of XML (xhtml1.1) and noticed that since 2.3 the SS parser is self/autoclosing metatags and the base tag, something it didn't do before and this breaks w3c validation.

Anyone else noticed this?

I'm wondering if this is done on purpose or if it's a bug. If no bug, what's the way around?



Community Member, 501 Posts

17 January 2009 at 3:55am

The solution:

Turns out that since 2.3 the ContentNegotiator is DISABLED by default. See

Putting ContentNegotiator::enable(); in _config.php solves the problem.