Closed Bug 307483 Opened 19 years ago Closed 19 years ago

wrong display of html entities inside a textarea

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 307481

People

(Reporter: dablanco, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When displaying htmlentities like "{" inside a textarea, firefox treats
them different if they are between quotes or if they are alone. Two examples:

inside a textarea, this is displayed as a curly brace:
<tag atribute="value">&#123;TEMPLATE_VAR&#125;</tag>

inside a textarea, this is displayed as the curly brace keycode:
<tag atribute="&#123;TEMPLATE_VAR&#125;">text</tag>

I think that the right behavior is the first, converting keycodes in its
equivalents, well?

sorry about my english ;-)

Reproducible: Always

Steps to Reproduce:

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