setInnerHTML for XHTML documents

When running under XML mode, normalize the incoming HTML in setInnerHTML.