h***@public.gmane.org
2011-12-31 10:06:47 UTC
Status: New
Owner: ----
New issue 195 by kovidgo...-***@public.gmane.org: Self closing <title/> breaks parsing
http://code.google.com/p/html5lib/issues/detail?id=195
A self closing title tag causes the parser to treat all subsequent text as
CDATA. To reproduce run the following code in a python interpreter
import html5lib
from lxml import etree
print etree.tostring(html5lib.parse('<html><head><title/></head></html>',
namespaceHTMLElements=False, treebuilder='lxml'))
Output is: <html><head><title></head></html></title></head><body/></html>
Output should be
<html><head><title/></head><body/></html>
Owner: ----
New issue 195 by kovidgo...-***@public.gmane.org: Self closing <title/> breaks parsing
http://code.google.com/p/html5lib/issues/detail?id=195
A self closing title tag causes the parser to treat all subsequent text as
CDATA. To reproduce run the following code in a python interpreter
import html5lib
from lxml import etree
print etree.tostring(html5lib.parse('<html><head><title/></head></html>',
namespaceHTMLElements=False, treebuilder='lxml'))
Output is: <html><head><title></head></html></title></head><body/></html>
Output should be
<html><head><title/></head><body/></html>
--
You received this message because you are subscribed to the Google Groups "html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to html5lib-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB.
You received this message because you are subscribed to the Google Groups "html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to html5lib-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/html5lib-discuss?hl=en-GB.