I recently found out that this forum also mishandles XML when it's in code blocks, as well. I posted a code block with XML in it to another thread yesterday. In that case, it took XML tags that were NOT composed of starting and ending tags and pointlessly expanded it into start and end tags.
Again, I say, things inside code blocks shouldn't be modified. That's the entire point of code blocks.