Skip to content

Commit

Permalink
[Minor] Oops, fix flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Aug 25, 2019
1 parent d448cac commit 42704e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lualib/lua_util.lua
Expand Up @@ -706,7 +706,7 @@ exports.filter_specific_urls = function (urls, params)
if esld then
-- Special cases
if (u:get_protocol() ~= 'mailto') and (not flags.url_displayed) then
if (u:get_protocol() ~= 'mailto') and (not flags.html_displayed) then
if flags.obscured then
priority = 3
else
Expand All @@ -716,7 +716,7 @@ exports.filter_specific_urls = function (urls, params)
priority = 2
end
end
elseif u:is_html_displayed() then
elseif flags.html_displayed then
priority = 0
end
Expand Down

0 comments on commit 42704e4

Please sign in to comment.