Closed fchasen closed 2 years ago
xhtml is often served with the mime type of application/xhtml+xml which isn't picked up with the current regex. This add a check for +xml at then end of the regex test.
application/xhtml+xml
+xml
Fixes https://github.com/jindw/xmldom/pull/205
xhtml is often served with the mime type of
application/xhtml+xml
which isn't picked up with the current regex. This add a check for+xml
at then end of the regex test.Fixes https://github.com/jindw/xmldom/pull/205