3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1029 Views |
-
[solved] self closing base and metatags

13 January 2009 at 8:32am Last edited: 17 January 2009 3:53am
Hi,
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?
Thanks
-
Re: [solved] self closing base and metatags

17 January 2009 at 3:55am
The solution:
Turns out that since 2.3 the ContentNegotiator is DISABLED by default. See http://open.silverstripe.com/changeset/68484
Putting ContentNegotiator::enable(); in _config.php solves the problem.
| 1029 Views | ||
|
Page:
1
|
Go to Top |

