From 5a5e12eb1c259a71e26bca59c7a06da2ada9b604 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 19 Sep 2009 23:22:21 +1000 Subject: [PATCH] Use the default 'hinttags' value when finding "]]" links. --- common/content/buffer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index e6109f18..cbb08849 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1157,8 +1157,7 @@ function Buffer() //{{{ return true; } - // TODO: this should probably use the default 'hinttags' value. --djk - let res = buffer.evaluateXPath(options["hinttags"], frame.document); + let res = buffer.evaluateXPath(options.get("hinttags").defaultValue, frame.document); for (let [, regex] in Iterator(regexes)) { for (let i in util.range(res.snapshotLength, 0, -1))