Yoast/wordpress-seo — pull request #1069 by MarventusWP (2014-04-30 21:18:06+00:00)
Title: Fix for escaping str literals in JS regexes

This PR is potential fix for issues #507, #575 and #1054. It addresses JS errors related to the use of unescaped string literals inside keywords, and it is based in a previous PR (#509) by user @jrfnl. It's been successfully tested by the OP of #507, @blafrance.