A simple code plugin…
Instead of some code parsing monster, Tom suggested implementing the code display in an iframe with src as the code file in question.
[updated]
It’s taking far too much time to do this. All the tag parsing nonsense, coupled with wp’s tendency to “autocorrect” quotes in an MS Word stylee are making this awkward. Found a nice plugin that does more or less what I am trying to do, and changed it to use an iframe.
Download this code: dolatercontrol.as
… all systems go!
update: Actually, it seems to cause a problem with IE. Even though the file is sent as text/plain, if it has an xml declaration, IE tries to render it. Hmmm. Stupid IE
