diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/core/searcher.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua index ee8af71a..ffb54c07 100644 --- a/script/core/searcher.lua +++ b/script/core/searcher.lua @@ -424,6 +424,9 @@ function m.searchRefsByID(status, uri, expect, mode) if mode ~= 'ref' and mode ~= 'field' and mode ~= 'allref' and not field then return end + if ignoredIDs[id] then + return + end noder.eachBackward(node, function (backwardID, tag) if tag == 'deep' and mode ~= 'allref' then return |