Closed Bug 256264 Opened 20 years ago Closed 20 years ago

renderizes '&lang' just as it was '⟨'

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 155047

People

(Reporter: supertennico, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 I have to show an URL in a page: <font color=red>www.foo.com/go/a123456&lang=italian</font> I saw that my browser renderized it as www.foo.com/go/a123456〈=italian as if it was <font color=red>www.foo.com/go/a123456&lang;=italian</font> It interpretes the string '&lang', WITHOUT the semicolon, as if it HAD it! Reproducible: Always Steps to Reproduce: 1. copy this string in a text file: <font color=red>www.foo.com/go/a123456&lang=italian</font> 2. save it as .html 3. view it in mozilla/firefox First this bug has been reported to us by our customer. She was using a new netscape (not sure about which version); then i visited the same page with my mozilla and also with Firefox and i could see the problem.
This is correct behaviour; the semicolon is not always required. *** This bug has been marked as a duplicate of 155047 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
V. Code your HTML as <font color=red>www.foo.com/go/a123456&amp;lang=italian</font> To get the result you expected.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.