Closed Bug 705733 Opened 13 years ago Closed 13 years ago

HTML entities (& ä ... ) have wrong formatting in page source view

Categories

(Firefox :: General, defect)

11 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 535530

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a1) Gecko/20111126 Firefox/11.0a1
Build ID: 20111126031027

Steps to reproduce:

Open this URL: data:text/html,<p>Ampersand&amp;Ampers&auml;nd or any website containing HTML entities in its source.

Open the context menu and select "View Page Source". Firefox will color HTML tags and entities.


Actual results:

Not only the entities &aml; and %auml; are colored, but also the first character after the entity. In this case the A and the n.


Expected results:

Only the entities should have been colored.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.