Don't convert newline characters into <BR /> inside <PRE>...</PRE>
|Reported by:||ensjo||Owned by:|
I use FCKeditor at Seedwiki. When I type, say, a computer program inside <PRE>...</PRE> tags, all newline characters become <BR /> tags. A code like:
<pre> FOR A = 0 TO 255 PRINT CHR$(A); NEXT A </pre>
becomes a LONG SINGLE line:
<pre>FOR A = 0 TO 255<br /> PRINT CHR$(A);<br />NEXT A</pre>
(Just imagine a 100+ line program...)
For a number of reasons sometimes it's preferable to use the TextArea editor, or simply we are stuch with a browser where FCKeditor's WYSIWYG feature doesn't work. In those cases, we must face the nightmare of editing that long single line.
Hence my suggestion: don't convert newline characters into <BR /> inside <PRE>...</PRE> tags.