Fetching `og:description` defaults to <meta name="description"> if not found
Closed this issue · 4 comments
anuragdhingra commented
@otiai10
Fetching og:description
defaults to <meta name="description">
if not found.
Current implementation has this case m.IsDescription() && og.Description == ""
, is it a spec or bug?
If its a spec, do you think we can avoid that somehow or make the fallback mechanism optional, if og:description
is not found? here
Thank you!
anuragdhingra commented
@otiai10 any resolutions or ideas you might have to solve the above problem? Thank you.
otiai10 commented
I checked this document https://ogp.me/ and
IMO, it should prefer og:description
rather than description
.
otiai10 commented
Defaulting to <meta name="description" />
makes sense, but og:description
should be preferred.