Problem: double dashes — in WordPress get converted to em-dash —.
Solution: disable WordPress text conversion.
Steps: go to WordPress admin page/Appearance/Editor/functions.php and add the following code “add_filter( ‘run_wptexturize’, ‘__return_false’ );” somewhere in the <?php section of the file and save changes by pressing “Update File”.