Our company is testing out the waters in developing websites using HTML5 (supported by Boilerplate) and seeing as we're also trying to move towards developing our high-profile websites using SilverStripe, I'm doing both for a project at the moment.
What I'm wondering - and haven't come across via Google or on the boards here - is if there are any possibilities (for say, the config file) to instruct SilverStripe to produce HTML5 where possible?
I'm not talking about generating whole templates or generating HTML5 tags, but smaller things. For example, in HTML5 it's no longer required to close off certain tags like <br> and <img> anymore, though you're allowed to do so if you wish. Also, tag attributes such as "type" are no longer required for (e.g.) <script>. I've decided to embrace these possibilities and therefore have done my mark-up for the templates in this fashion.
But seeing as I also use Requirements for including my CSS and JavaScript in the template, SilverStripe generates XHTML mark-up for the related tags. It's not a huge deal or anything, but if it's possible (without having to "hack into" the core files to - for example - change the line where <script> elements are outputted), I'd prefer to set the installation up to generate HTML5 for these types of things.
Anyone have any ideas? :)