Posting code in the forums
I recently added a forum post with code in it, and all was well. But when I edited it, I lost the code formatting and I can't get it back. I added another block with <pre> formatting, could this be the problem?
The post is here http://www.java.net/forum/topic/jdk/java-se/question-renderableimageprod...
As far as I can see, I can enter a code block either with Format: formatted in the wysiwyg editor or [code] in the plain text editor or <pre> in the plain text editor, but I get either no formatting, or, formatted in a grey box but with a load of <BR/> and <P> tags visible, and sometimes it trashes all my line breaks and gives me a solid block of text.
The other thing is that it often looks OK in the editor but not when I save the result.
Any idea what's wrong?