Issue with current_page title token when title contains apostrophe

Created on 8 December 2017, over 6 years ago
Updated 11 May 2023, about 1 year ago

The twitter share link is not working with [current_page:title] in the status part of api link when there is an apostrophe in the page title.

The url does encode the apostrophe into "'" but I assume it is the ampersand here that prevents the rest of the title from appearing in the tweet preview.

In fact the link would actually work better if it wasn't encoded I guess, but I see why it is being...

I was looking for an alternative token that might be used like the meta tag title for the page so you could manually override when a title was causing a problem, but not sure if there is a way to do that.

Are there any workarounds to this?

Thanks

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom gsquirrel London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024