sailthru/sailthru-wordpress-plugin — pull request #28 by joepikowski (2014-12-08 18:33:20+00:00)
Title: Allow Scout Custom Rendering Function

Changes the way that the Scout custom rendering function is sanitized and, subsequently, decoded and output.

Prevents the rendering function from being gutted by the sanitize_text_field() function.

Uses esc_js() to encode instead, which is then decoded by htmlspecialchars_decode() and stripcslashes().