When I put — into a post it is automatically converted to the – – character in the output by wordpress.

How can I get normal '--' double dashes in my content.

4 Answers
4

In your functions.php:

remove_filter( 'the_content', 'wptexturize' );

And the same for the_excerpt or the_title (if required).

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *