Title says it all.
Debug output does not validate with HTML5 doctype. It's tedious having to disable it when trying to validate the page, so this commit fixes the validation.