Get rid of bad Wordpress code formatting

January 19, 2009
Tags:

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.

  • Share/Bookmark

2 Responses to “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

  2. Well, thanks!

Leave a Reply