Fixed rendering of excess whitespace in status card titles (#30017)

pull/2701/head
Tim Rogers 2024-04-24 04:09:21 -05:00 committed by GitHub
parent f4a53f3fb4
commit b128474625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class LinkDetailsExtractor
end end
def title 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 end
def description def description