From 835570125b51c6c1955a3ef81b6a1e8af44122d5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 9 Dec 2007 10:31:35 +0000 Subject: [PATCH] fix util.highlightURL to use the unnamed anchor for link href values to prevent :pageinfo links from being loaded in the MOW --- content/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/util.js b/content/util.js index 7599d158..a433d3de 100644 --- a/content/util.js +++ b/content/util.js @@ -170,7 +170,7 @@ vimperator.util = { //{{{ highlightURL: function (str, force) { if (force || /^[a-zA-Z]+:\/\//.test(str)) - return "" + vimperator.util.escapeHTML(str) + ""; + return "" + vimperator.util.escapeHTML(str) + ""; else return str; },