Closed Bug 244005 Opened 21 years ago Closed 21 years ago

Composer adds extra blank lines each time I make an edit change in HTML source view

Categories

(SeaMonkey :: Composer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 97278

People

(Reporter: leavens, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 Start by opening composer on a blank page. Now switch to the HTML source view and add a newline after one of the tags, say the first (html) tag. When you switch to preview or normal view (or save) and then switch back to HTML source view, you will see that more blank lines are added to the source view (and to the file if saved). Even more blank lines are added for each change you make in the source view. For example, if you go to HTML source view, and then change the title of the document there and then switch to preview view or normal view (or save), then you will see more new lines being added in each place where there is a line break. The file grows and grows as this happens. Note that the extra blank lines don't get inserted if you don't make any changes when looking at the source view, it's only a problem when you change something. It can be as simple as changing one character in the page's title. You don't have to save the file to see this happening, it occurs when switching from HTML source view to preview view or to normal view. Reproducible: Always Steps to Reproduce: 1.Start by opening composer on a blank page. 2.Now switch to the HTML source view and add a newline after one of the tags, say the first (html) tag. 3.When you switch to preview or normal view (or save) and then switch back to HTML source view, you will see that more blank lines are added to the source view (and to the file if saved). 4.Repeat to see more blank lines added for each change made in HTML source view. Actual Results: Lots of extra blank lines are added. It seems to duplicate each blank line. Expected Results: Not added any extra blank lines, keeping the size of my file the same.
Also semi-duplicates of bug 179531 , bug 176866 and bug 143264. Please search the database a bit more to see if there is a duplicate. Thanks. *** This bug has been marked as a duplicate of 97278 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.