0
0
Fork 0

LinkDetailsExtractor adjustments (#31357)

This commit is contained in:
Christian Schmidt 2024-11-22 09:00:14 +01:00 committed by GitHub
parent 68c7782940
commit 0518613dd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 9 deletions

View file

@ -8,5 +8,9 @@ class NokogiriHandler
def link_rel_include(token_list, token)
token_list.to_s.downcase.split(WHITE_SPACE).include?(token.downcase)
end
def casecmp(str1, str2)
str1.to_s.casecmp?(str2.to_s)
end
end
end