Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The code that prepares the Facebook and Twitter share buttons has a variable that receives the title of the question as a single-quoted string. Some questions have an apostrophe (or single quote) in their title which isn't properly escaped as part of this process, causing a JavaScript error. This breaks the share buttons, making them unusable on those questions. The value assigned to the shareMsg variable should be properly escaped to prevent this from happening.

share|improve this question
up vote 2 down vote accepted

Our pesky encoder assumes all js strings are wrapped in " and not my beloved ', causing this issue.

A fix will be deployed shortly.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .