mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 17:47:59 +01:00
Fix help.
This commit is contained in:
@@ -1276,7 +1276,7 @@ var Hints = Module("hints", {
|
||||
"regexpmap", {
|
||||
"[iI]": "img",
|
||||
"[asOTvVWy]": [":-moz-any-link", "area[href]", "img[src]", "iframe[src]"],
|
||||
"[A]": ["[id]"],
|
||||
"[A]": ["[id],a[name]"],
|
||||
"[f]": "body",
|
||||
"[F]": ["body", "code", "div", "html", "p", "pre", "span"],
|
||||
"[S]": ["input:not([type=hidden])", "textarea", "button", "select"]
|
||||
|
||||
@@ -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