diff --git a/common/content/buffer.js b/common/content/buffer.js index aff55af2..a972d322 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -678,7 +678,7 @@ function Buffer() //{{{ if (!isFeed) { - let type = data.type && data.type.toLowerCase(); + var type = data.type && data.type.toLowerCase(); type = type.replace(/^\s+|\s*(?:;.*)?$/g, ""); isFeed = (type == "application/rss+xml" || type == "application/atom+xml");