When building a blog entry, if i use the 'code' element (or others that I've added to the mix), any double carriage-return gets parsed into a closing paragraph tag and a new opening paragraph tag.
(i've had to replace the [ and ] marks and < and > tags but you'll see what I mean)
So doing something like:
{code}my first line of code
second line{/code}
This obviously causes XML errors, since the parsed content looks something like:
(pre)my first line of code(/p)(p)second line(/pre)
How would I 'fix' this, where the line feeds are all just interpreted as break tags instead of paragraph tags, only when in a 'code' element?