FeedProcessor: Interpret more type attributes

Fixes #4733
This commit is contained in:
Abe Jellinek 2024-10-07 17:05:45 -04:00
parent f1aeb278a6
commit 43b491fbd3

View file

@ -620,10 +620,10 @@ TextConstruct.prototype = {
}
let parserType;
if (this.type == "xhtml") {
if (this.type == "xhtml" || this.type == "application/xhtml+xml") {
parserType = "application/xhtml+xml";
}
else if (this.type == "html") {
else if (this.type == "html" || this.type == "text/html") {
parserType = "text/html";
}
else {