rel="me"
check should be case-insenstive (#32238)
This commit is contained in:
parent
dbddd40c1c
commit
7385016837
5 changed files with 30 additions and 3 deletions
|
@ -237,7 +237,7 @@ class LinkDetailsExtractor
|
|||
end
|
||||
|
||||
def link_tag(name)
|
||||
document.xpath("//link[@rel=\"#{name}\"]").pick('href')
|
||||
document.xpath("//link[nokogiri:link_rel_include(@rel, '#{name}')]", NokogiriHandler).pick('href')
|
||||
end
|
||||
|
||||
def opengraph_tag(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue