WordPress converting ‘ to ’ and – to –?
This is wptexturize which includes a number of other transforms too. You can disable wptexturize completely with add_filter( ‘run_wptexturize’, ‘__return_false’ ); which you can put in your child theme’s functions.php, or in a one-file plugin or similar. I can’t see a way to disable just these rules specifically.