concrete5/concrete5 — pull request #1689 by mlocati (2014-04-01 06:58:45+00:00)
Title: Allow apostrophes in page control menus attribs

Translations may contain apostrophes, but this would break the resulting JavaScript.
Let's encode those strings with json_encode...

There shouldn't be any error: no manual editing, just using regular expressions (find string: `"<\?=(.+?)\?>"`, replace with `"' + encode\(\1\)?> + '"`)

Bugtracker: http://www.concrete5.org/developers/bugs/5-6-3/apostrophe-problem-in-page-controls/