New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Sanitize quotation marks for og description

Lauren September 14, 2014 by Lauren

I'm showing an excerpt of content in my og:description meta tag but this content may have a quote mark in it and unwittingly cut off the description. Is there any current way to sanitize these? The 'sanitize' variable modifier doesn't change quote marks.

Answered by Curtis Blackwell!
>>>>>>> Answered <<<<<<<
2 Replies
1 Follower