Getting WordPress to leave code alone

My post about Twisted and wxPython was being confounded by WordPress’s too-clever munging of my code pastes. I don’t know what the best way to handle this was, but a lot of rooting around and trying to fix it without touching code was met with failure. So I installed this enscript-using plugin and then hacked out the call to enscript (since my hosting provider doesn’t have it installed or the PHP functions to call it won’t work or something).


For future posts, we can use <pre class=”code”>…<pre> to surround the code to get the quoting and no-munging effect.