Open Bug 267059 Opened 20 years ago Updated 12 years ago

unclosed tags added in html source view handled badly

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: caspar-mozilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040915
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040915

I stumbled over the same old problem again and for I didn't find a bug report
for it, I set one up eventually...

I am using the "<HTML> source" editor in composer sometimes to rearrange web pages.

The following input shows the problem:
<p><b>This paragraph should be in bold type and I don't close the tag
properly.<b></p>
<p>This paragraph is in normal type and shall stay so</p>

Changing to "Normal" editor both paragraphs are bold.  Changing back to "<HTML>
source" editor shows this:

<p><b>This paragraph should be in bold type and I don't close the tag
properly.</b></p>
<p><b><b>This paragraph is in normal type and shall stay so</b></b></p>

While the first paragraph gets fixed properly, the second gets messed up
thouroughly.

I can't even follow the process to give this result.


bye

caspar

Reproducible: Always
Steps to Reproduce:
1. Start up composer
2. go to "<HTML> source" editor
3. enter demo markup
4. change to "Normal" editor and back again
Actual Results:  
<p><b>This paragraph should be in bold type and I don't close the tag
properly.</b></p>
<p><b><b>This paragraph is in normal type and shall stay so</b></b></p>

Expected Results:  
<p><b>This paragraph should be in bold type and I don't close the tag
properly.</b></p>
<p>This paragraph is in normal type and shall stay so</p>
composer
Assignee: general → composer
Component: Browser-General → Editor: Composer
QA Contact: general
Note that this is likely the result of the residual style fixups our parser
performs...
Product: Browser → Seamonkey
confirmed with linux trunk 20050409
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: tag completion errors within composer → unclosed tags added in html source view handled badly
MozillaAS v1.7.x is not supported anymore.

Can you reproduce with SeaMonkey v1.1.9 ?
Assignee: composer → nobody
QA Contact: composer
Still reproducible
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 SeaMonkey/2.13a1
Build identifier: 20120712003002
OS: Linux → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.