Merge commit '85fdbd0ad5
' into upstream-20240425
This commit is contained in:
commit
661e329974
61 changed files with 392 additions and 212 deletions
|
@ -156,7 +156,7 @@ class LinkDetailsExtractor
|
|||
end
|
||||
|
||||
def title
|
||||
html_entities.decode(structured_data&.headline || opengraph_tag('og:title') || document.xpath('//title').map(&:content).first)
|
||||
html_entities.decode(structured_data&.headline || opengraph_tag('og:title') || document.xpath('//title').map(&:content).first).strip
|
||||
end
|
||||
|
||||
def description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue