Get rid of bad WordPress code formatting

While editing the previous post I had various problems with the formatting of the command line. Some googling led me to the file /wp-includes/formatting.php where a lot of replacements are done. Edit the function wptexturize to get rid of some bad stuff (for example, I don’t want WP to replace double dashes (–) with one long dash).

If there is some better way to do this, please let me know.

2 thoughts on “Get rid of bad WordPress code formatting

  1. Hey There, I have to say, that I lover your blog.
    Please go on like that and don’t stop posting. I hope this comment motivates you to do so, smile
    regards, kali

Leave a Reply

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