On 19 February 2015 at 19:59, Paul A <paul.a@navalmarinearchive.com> wrote:
3.18 just adds <!DOCTYPE html> -- which gives rise to "errors" in most verification processes (W3C etc). Was there a reason to change this? (Can't find anything in bugs.)
<!doctype html> is the declaration for HTML5. If a verification tool breaks on the doctype declaration (versus reporting on things on the page that’s not HTML5-compliant), then the verification tool is broken.
I'm playing with the Google mod_pagespeed in Apache 2.4, and adding the full DOCTYPE seems necessary. I haven't (yet) seen a downside to adding it back in.
Using the shorter doctype means we’re switching to HTML5; adding the rest back in means we’re going back to HTML 4. I’m not current with where Koha is going but I assume Koha would be going HTML5 as most sites are going to go HTML5. -- cheers, ambrose // http://o.gniw.ca / http://gniw.ca //