diff options
author | Doug Kearns <dougkearns@gmail.com> | 2007-12-09 10:31:35 +0000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2007-12-09 10:31:35 +0000 |
commit | 835570125b51c6c1955a3ef81b6a1e8af44122d5 (patch) | |
tree | 8816496c69b0f9260cadb3199fe866b9be91a850 | |
parent | 49d7cc87bec2bb446cb4f30d7c532ec03f20a130 (diff) | |
download | pentadactyl-835570125b51c6c1955a3ef81b6a1e8af44122d5.tar.gz |
fix util.highlightURL to use the unnamed anchor for link href values to prevent
:pageinfo links from being loaded in the MOW
-rw-r--r-- | content/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<a class='hl-URL' href='" + str + "'>" + vimperator.util.escapeHTML(str) + "</a>"; + return "<a class='hl-URL' href='#'>" + vimperator.util.escapeHTML(str) + "</a>"; else return str; }, |