The code would cause a yellow screen of death in Firefox if pages are served with Content-Type: application/xml+xhtml
these changes fix it to play nice with strict XML parsing.
fixes for XHTML on mime type application/xml+xhtml
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master' into master-x
Ensure the toolbar only outputs valid XML.
This allows using it in websites served with the application/xml+xhtml
mime type. Fix #221.
For some reason this pull request is showing a gigantic diff, but I've extracted the relevant changes and will commit them with a test.