Merge commit '85fdbd0ad5' into upstream-20240425

This commit is contained in:
KMY 2024-04-25 18:28:31 +09:00
commit 661e329974
61 changed files with 392 additions and 212 deletions

View file

@ -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