This plugin escapes all text inside code tags so you don’t have to worry about converting code to HTML characters (e.g. >
‘s to >
‘s). The contents of code tags inside posts and comments are run through php’s htmlspecialchars.
This plugin is available for download to be used on your WordPress self-hosted installation.