Skip to main content

Posting code in the forums

3 replies [Last post]
peterhull90
Offline
Joined: 2008-04-17
Points: 0

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?
Pete

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rashmisinha
Offline
Joined: 2011-03-27
Points: 0

i have same issue

benobi
Offline
Joined: 2007-05-16
Points: 0

I'm having the same issue.

peterhull90
Offline
Joined: 2008-04-17
Points: 0

Still seems to be the same in the new java.net