WordPress by default converts the double hyphen '--' written on the post to single dash. However you can overcome by following this step.
In functions.php, add the following line at the beginning,
remove_filter( 'the_content', 'wptexturize' );
Configuration guides for IT Administrators