Closed
Bug 188616
Opened 22 years ago
Closed 22 years ago
Composer inserts blank lines every 'save' when 'retain original source formatting' is selected
Categories
(Core :: DOM: Serializers, defect)
Core
DOM: Serializers
Tracking
()
RESOLVED
DUPLICATE
of bug 145196
People
(Reporter: bc_berry, Assigned: harishd)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
when editing an html file like:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.77 [en] (Windows NT 5.0; U) [Netscape]">
</head>
<body link="#0000ff" vlink="#800080" lang="EN-US">
</body></html>
With 'retain original source formatting' selected, composer inserts blank lines
on every 'save'. Shortly, the file ends up looking like:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.77 [en] (Windows NT 5.0; U) [Netscape]">
</head>
<body link="#0000ff" vlink="#800080" lang="EN-US">
</body></html>
Reproducible: Always
Steps to Reproduce:
1. Select 'retain original source formatting' in composer options.
2. Edit an html file and view HTML.
3. Save.
4. Edit the same html file and view HTML.
Actual Results:
Every save inserts more blank lines in the html.
Expected Results:
No blank lines should be inserted.
I have noticed this problem for quite a while. It is not specific to the current
release.
Updated•22 years ago
|
Whiteboard: DUPEME
Comment 1•22 years ago
|
||
-->DOM to Text Conversion
I am sure the duplicate is in that component (as opposed to an Editor Component)
Assignee: jfrancis → harishd
Status: UNCONFIRMED → NEW
Component: Editor: Core → DOM to Text Conversion
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Comment 2•22 years ago
|
||
dupe of 145196
*** This bug has been marked as a duplicate of 145196 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•