Closed Bug 159392 Opened 22 years ago Closed 22 years ago

Composer add <br> to end everytime it opens a file

Categories

(SeaMonkey :: Composer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lucxaw, Assigned: mozeditor)

References

Details

(Whiteboard: EDITORBASE+; fixinhand; need r=,sr=)

Attachments

(1 file)

Everytime composer opens a file, it will append a <br> bright bofore </body>
Eventually, there will be a number of <br>'s and a large space at the end of the
document.

How to reproduce:
1) Create a new document in Composer.
2) Write some text on the first line.
3) Save.
4) Close the document

5) Start Composer angain and open the document.
6) Modify the document by inserting a character on the first line.
7) Save and close the document again.

8) Repeat steps 5-6

You'll notice that everytime the file is opened, there is an extra line at the end. 


Build ID: 2002072504
confirming....I see it happening also...

nominating.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: nsbeta1
Whiteboard: EDITORBASE
EB+
Assignee: syd → jfrancis
Whiteboard: EDITORBASE → EDITORBASE+
Target Milestone: --- → M1
only force trailing br's for plaintext docs
Status: NEW → ASSIGNED
Whiteboard: EDITORBASE+ → EDITORBASE+; fixinhand; need r=,sr=
Comment on attachment 94916 [details] [diff] [review]
patch to mozilla/editor/libeditor/text/nsTextEditRules.cpp

r=brade (hurray!)
Attachment #94916 - Flags: review+
Comment on attachment 94916 [details] [diff] [review]
patch to mozilla/editor/libeditor/text/nsTextEditRules.cpp

sr=kin@netscape.com
Attachment #94916 - Flags: superreview+
Keywords: nsbeta1nsbeta1+
fix landed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 164431 has been marked as a duplicate of this bug. ***
verified in 9/5 trunk build. Alex this is fixed now...let me know if it still
is not fixed for you...thanks.
Status: RESOLVED → VERIFIED
*** Bug 171188 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: