ds125v / moodle-theme_bootstrap_renderers

A developer theme for working on Moodle 2.4/5 renderers that output Bootstrap 3 compatible HTML
15 stars 10 forks source link

set HTML5 doctype in config #4

Closed thedannywahl closed 12 years ago

ds125v commented 12 years ago

I'm pulling this anyway, because it sets the right tone for supporting HTML5, though I'm curious what this actually does? I assume it activates the HTML5 doctype support in Moodle, but the last time I tried it it wasn't there yet even though there was a flurry of activity on the bug I raised about it, what version do you need for this to have an effect?

thedannywahl commented 12 years ago

It changes OUTPUT->doctype in the layout to html5 from xhtml 1.1 strict.

Fix version is 2.4 - but it's backwards compatible so it won't "hurt" anything below that as they don't know it exists.