Updates:
        Owner: t.broyer
        Cc: ian.hickson

Comment #5 on issue 91 by t.broyer: unnecessary unclosed <head> element  
inserted before parsed text
http://code.google.com/p/html5lib/issues/detail?id=91

Agree it's not a spec bug, but why do you consider it an html5lib bug?

In the code snippet given by Michael (let's just replace XHTMLSerializer  
with
HTMLSerializer ;-) ), the serialized "<head>Just some plain text." will be  
parsed
back into the same DOM with the same parse error (missing doctype).

I too would have expected the <head> start tag be omitted, but I'd say it's  
an RFE,
not a bug. Not sure how to fix it though...
(note: there might be a bug with EmptyTag never being considered)

Will try to work on it asap; CC'ing Ian in case he thinks the spec should  
be changed
in any way.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"html5lib-discuss" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to 
[email protected]
 For more options, visit this group at 
http://groups.google.com/group/html5lib-discuss?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to