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

Correctly set and escape attribute values. Fixes #1. #2

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

bramus
Copy link
Contributor

@bramus bramus commented Aug 12, 2020

This PR will correctly render attribute values by:

  • stripping HTML tags (if needed)
  • escaping the values

Above that it will also prevent the og:description from becoming too long by auto-generating an excerpt.

@anonymousguyx anonymousguyx merged commit 8e37ef4 into anonymousguyx:master Aug 12, 2020
@bramus
Copy link
Contributor Author

bramus commented Aug 12, 2020

Thanks for merging :)

If possible, could you release this as a new version on the Wordpress Plugins Directory? Thanks!

@anonymousguyx
Copy link
Owner

Will release this update today! :)
Thanks

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

Successfully merging this pull request may close these issues.

2 participants