Closed Bug 340663 Opened 18 years ago Closed 18 years ago

View selection source changes <!-- text -> to <!-- text --->

Categories

(Core Graveyard :: View Source, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 164906

People

(Reporter: seppo.jyrkinen, Assigned: mrbkap)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fi; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: 1.8b2 Mozilla/5.0 (Windows; U; Windows NT 5.1; fi-FI; rv:1.8b2) Gecko/20050702

What You see when looking "View selection source" is not true. Mozilla and FireFox keep addint two -- marks. 

Reproducible: Always

Steps to Reproduce:
Demo, page http://www.tml-turvallisusliike.fi

1. Select main header and bolded text: 
YRITYS JA TURVALLISUUS
Laaja opas yrityksille, todellinen yritysturvallisuuden tietopaketti.
2. View selection source
3. In the middle of the selected text there is <!-- ingressi --->



Actual Results:  
I saw wrong kind of code

Expected Results:  
There should had been <!-- ingressi ->

View selection code gives this:

<h1><img class="isokuva" src="kuvat/varmuuslukko.jpg" alt="" align="right" border="0" height="150" width="150">
YRITYS JA TURVALLISUUS</h1>
<!-- ingressi --->
<p class="ingressi">Laaja opas yrityksille, todellinen yritysturvallisuuden tietopaketti.</p>

---------------------
Real code looks so:

<h1><img class="isokuva" align="right" src="kuvat/varmuuslukko.jpg" width="150" height="150" alt="" border="0">
YRITYS JA TURVALLISUUS</h1>

<!-- ingressi ->
<p class="ingressi">Laaja opas yrityksille, todellinen yritysturvallisuuden tietopaketti.</p>

---------------------
This is a small problem, if it limits here.
View Selection Source shows you the code how Mozila/Firefox sees it in its internal DOM.

*** This bug has been marked as a duplicate of 164906 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.