Opened 17 years ago
Last modified 15 years ago
#328 closed Bug
whitespace trimming within pre tags — at Initial Version
Reported by: | David Au | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | FCKeditor 2.4.1 |
Keywords: | Confirmed | Cc: |
Description
Leading whitespace within a pre tag is being trimmed. This is an issue because the text within the pre tag is expected to be preserved 'as is'.
- To reproduce this issue, paste the following into FCKeditor's Source view:
<pre> /*** * First line (above) has leading whitespace. * Some more text... */ public void testFunction(){ System.out.println( "abc" ); } </pre>
- Next press the Source button to return to the normal view.
- Now press the Source button two more times and you will see that the leading whitespace on the first line has been removed.
This issue exists on Firefox 2.0.0.3 and IE 7.0.5730.11 (both on WinXP).