Closed Bug 66841 Opened 25 years ago Closed 25 years ago

<br> inserted in <pre> for "enter" & opened files

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: fantasai.bugs, Assigned: mozeditor)

Details

(Keywords: testcase)

Attachments

(1 file)

Overview: A) Pressing return in a preformatted block inserts <br> instead of a newline. B) Opening an existing html document with a preformatted block adds additional <br>s to the markup, creating a mess. Steps to Reproduce: A) 1. Open a new document in Composer. 2. Select Preformat from the paragraph/heading menu. 3. Type 'some text' and press enter. Type 'something else'. 4. Look at source view. B) 1. Open testcase (to be attached shortly) in Composer. 2. Save document. 3. View in text editor. Expected Results: A) The source view should show <pre>some text something else B) The source should show the exact same thing as before. Actual Results: A) The source view shows: <pre> some text <br> something else B) The source has changed significantly. Viewing the HTML document reveals that it has been double spaced. Build id: 2000121404 Tested on Windows 2000
Attached file testcase for B
Keywords: testcase
reassign to jfrancis -- I would suspect you have anotehr bug with these issues
Assignee: beppe → jfrancis
A is not a bug. B is not a bug insofar as it is inserting <br>. The other aspects of B are covered under existing whitespace bugs. closing invalid.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
verified in 1/30 build.
Status: RESOLVED → VERIFIED
> B is not a bug insofar as it is inserting <br>. The other > aspects of B are covered under existing whitespace bugs. AFAICT, the whole of B is about inserting <br>--what are the other aspects you're talking about, and under which bugs are they covered?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: