Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweet/Facebook text uses HTML entities for many characters #1134

Closed
1 task done
benlk opened this issue Feb 12, 2016 · 3 comments
Closed
1 task done

Tweet/Facebook text uses HTML entities for many characters #1134

benlk opened this issue Feb 12, 2016 · 3 comments
Assignees
Milestone

Comments

@benlk
Copy link
Collaborator

benlk commented Feb 12, 2016

  • about an hour on this, max

The problem: Smart quotes in the title are displayed in the share text (the title plus other things) as HTML entities, not as the represented character. http://womensenews.org/2016/02/trapped-will-be-released-with-eye-on-voters/ returns this, for example:

‘Trapped’ Will Be Released With Eye on Voters http://womensenews.org/2016/02/trapped-will-be-released-with-eye-on-voters/ via @aboutdocsguide

For http://jira.inn.org/browse/WE-92

@benlk benlk self-assigned this Feb 12, 2016
@benlk benlk added this to the 0.5.5 - Story Elements milestone Feb 12, 2016
@benlk
Copy link
Collaborator Author

benlk commented Feb 20, 2016

@benlk
Copy link
Collaborator Author

benlk commented Feb 25, 2016

Of course it doesn't work on numeric entities. 😠

@benlk
Copy link
Collaborator Author

benlk commented Feb 25, 2016

https://secure.php.net/manual/en/function.html-entity-decode.php#93378 gotta add the right flags 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants