mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 10:24:11 +01:00
Fix help.
This commit is contained in:
@@ -185,7 +185,7 @@ function XMLChannel(uri, contentType, noErrorChannel, unprivileged) {
|
||||
this.channel.owner = systemPrincipal;
|
||||
|
||||
let type = this.channel.contentType;
|
||||
if (type.indexOf("text/") == 0 || type.indexOf("+xml") == type.length - 4) {
|
||||
if (/^text\/|[\/+]xml$/.test(type)) {
|
||||
let stream = services.InputStream(channelStream);
|
||||
let [, pre, doctype, url, extra, open, post] = util.regexp(<![CDATA[
|
||||
^ ([^]*?)
|
||||
|
||||
Reference in New Issue
Block a user