Ive been looking for a good HTML modification tool to post code snippets into entries/comments here on LiveJournal, but I couldnt find one that worked how I wanted it to, so I wrote one myself. All it does is replace all
>. It leaves quotation marks and spaces the same. It then wraps the result in
</code></pre>tags to keep the formatting and make it look like code.
Check it out at http://mike.mm1swebcreations.com/lj/ljhtmlparser/ (thanks to kunzite1 for hosting it), and tell me what you think of it, ie. if it needs fixing :)