Fix doctype for generated HTML