I believe i have found the problem, although it is not a complete work around, and may not be appropriate in all cases…
in the file /wp-content/plugins/wordpress-seo/admin/class-pointers.php:
- change line 233 from
<?php echo esc_js( $button2_function ) ; ?>
to <?php echo $button2_function ; ?>
, and similarly,
- change line 239 from
<?php echo esc_js( $button1_function ); ?>
to <?php echo $button1_function ; ?>
this function changes special characters to HTML character specifiers (i.e ” to “) which is what causes this.
Please note i havent fully tested this so i can’t say that it works everywhere in the admin section (which is the only place this is loaded).
Good Luck!