>>Not 100% sure, if it helps, but try nnHTMLCode (or mhHTMLCode) and see, if it preserves the formatting (I believe, it should).
>
>mhHTMLCode does, yes, my version has a flag in it to skip coloring syntax or not, otherwise, it only makes code presentable in HTML (does the necessary StrTran()s and adds the PRE tags).
Interesting. I'll add this flag too :)
If it's not broken, fix it until it is.
My Blog