cabennett85/gittest — Issue #982: HTML double encoding in story descriptions/facebook opengraph tags
Author: cabennett85
Created: 2012-03-02 00:28:46+00:00
State: open

I've noticed here and there that we have errors in some of our meta descriptions (and og:descriptions) on uw.php pages. This happens when there's an HTML special character in the title, or story blurb... the issue is that our code applies htmlentities in uw.php AND THEN in begin.php we (for some reason) also apply htmlspecialchars to meta description-- double encoding. You get things like this in the meta description:

&quot;my Girl&quot; : A true, personal story from the experience, I Sang Karaoke. It was a getting acquainted kind of party for school. There was a pool t...

Likewise in the opengraph description.