"lang" attribute not allowed in XHTML 1.1
|Reported by:||jmillikin@…||Owned by:||cmlenz|
In 0.5, the xml:lang attribute is copied to the lang attribute. However, in XHTML 1.1 this causes validation errors because lang is no longer allowed. The XHTML serializer should check which doctype is being serialized to before copying this attribute, or maybe even remove copying it from the XHTML serializer entirely (leave it in for HTML).