Closed Bug 145238 Opened 23 years ago Closed 23 years ago

HTML comments disapper in forms textarea

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 133044

People

(Reporter: benndorf, Assigned: harishd)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0rc2) Gecko/20020510 BuildID: 2002051009 The initial text in the textarea is '<!-- Cascading Style Sheet -->', but is shown as 'Cascading Style Sheet', the HTML comments are removed. Thus, if you use a form to edit HTML code, your comments are readable inside your page afterwards and the design could be corrupted. Reproducible: Always Steps to Reproduce: Just visit the demo url
probably a parser issue, but over to kin to make sure.
Assignee: rods → kin
If you're expecting to see the entire comment tag in the textarea, you really should be escaping your '<' and '>' chars. This bug is similar to bug 105937 on harishd's plate.
Assignee: kin → harishd
*** This bug has been marked as a duplicate of 133044 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.