1
0
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:
Kris Maglione
2012-01-30 08:05:12 -05:00
parent b17be0ca1c
commit 7e3868c15e
2 changed files with 2 additions and 2 deletions

View File

@@ -1276,7 +1276,7 @@ var Hints = Module("hints", {
"regexpmap", { "regexpmap", {
"[iI]": "img", "[iI]": "img",
"[asOTvVWy]": [":-moz-any-link", "area[href]", "img[src]", "iframe[src]"], "[asOTvVWy]": [":-moz-any-link", "area[href]", "img[src]", "iframe[src]"],
"[A]": ["[id]"], "[A]": ["[id],a[name]"],
"[f]": "body", "[f]": "body",
"[F]": ["body", "code", "div", "html", "p", "pre", "span"], "[F]": ["body", "code", "div", "html", "p", "pre", "span"],
"[S]": ["input:not([type=hidden])", "textarea", "button", "select"] "[S]": ["input:not([type=hidden])", "textarea", "button", "select"]

View File

@@ -185,7 +185,7 @@ function XMLChannel(uri, contentType, noErrorChannel, unprivileged) {
this.channel.owner = systemPrincipal; this.channel.owner = systemPrincipal;
let type = this.channel.contentType; 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 stream = services.InputStream(channelStream);
let [, pre, doctype, url, extra, open, post] = util.regexp(<![CDATA[ let [, pre, doctype, url, extra, open, post] = util.regexp(<![CDATA[
^ ([^]*?) ^ ([^]*?)