Improve parsing of doctype declarations This code should handle all declarations that don't use a conditional section anywhere.