greenpeace / planet4

Built on top of Wordpress tech, Greenpeace Planet 4 powers digital platforms to engage with millions and win campaigns around the world.
https://planet4.greenpeace.org
Creative Commons Attribution Share Alike 4.0 International
66 stars 27 forks source link

PLANET-5441 Hashtag cuts off text for social media sharing #109

Closed planet-4 closed 3 years ago

planet-4 commented 3 years ago

Example Page:
https://www.greenpeace.org/canada/en/story/41373/why-you-have-to-say-gnlnonmerci-before-september-14/

Description of the issue: The title of this page has a hashtag (#). By default, when somebody clicks the Twitter button at the top of the page, the tweet only contains the title text that comes before the hashtag. The text following the hashtag is cut off. Effectively, this makes us unable to use hashtags for social sharing. The full title can be displayed in the tweet if it is placed in Open Graph/Social Fields, but not if a hashtag is included.

Tasks

Screenshots

Screenshot

Reporter: lsilbern
Sections: Social Media

Potentially affected repositories: planet4-master-theme

lovlin-thakkar commented 3 years ago

Hi, please check this pull request I've opened: https://github.com/greenpeace/planet4-master-theme/pull/1216