Ticket #346 (closed Bug: fixed)
blank first line in PRE tag causes newline characters to be removed
| Reported by: | decinz | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | General | Version: | FCKeditor 2.4.1 |
| Keywords: | Confirmed Firefox | Cc: |
Description
This issue only affects Firefox (tested with 2.0.0.3).
When the first line within a PRE tag is blank, the newline characters in the remaining lines will be removed after clicking on the Source button several times.
1. To reproduce this issue, paste the following into FCKeditor's Source view:
<pre>
/***
* First line (above) is blank.
* Some more text...
*/
public void testFunction(){
System.out.println( "abc" );
}
</pre>
2. Next press the Source button to return to the normal view.
3. Now press the Source button two more times and you will see that the lines within the PRE tag are mangled due to the missing newline characters.
This ticket may be related to ticket #328.
Change History
Note: See
TracTickets for help on using
tickets.