What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

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

1 Answer 1

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 .