Closed
Bug 135364
Opened 23 years ago
Closed 23 years ago
Comment Start and End tags do not display in textarea
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 133044
People
(Reporter: nowhun, Assigned: attinasi)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
BuildID: 2002040203
Comment start and end tags (<!-- and --> respectively) do not display within a
textarea input form (other HTML syntax display fine). The text within the
comments does display.
Reproducible: Always
Steps to Reproduce:
1. Go to the URL
2.
3.
Actual Results: Text within the comment will display, but the comment start and
end tags will not.
Expected Results: The comment start and end tags should be displayed (this is
the behavior in Netscape 4.x and IE).
![]() |
||
Comment 1•23 years ago
|
||
You need to escape those less than and greater than signs... Our behavior is
correct per HTML4 spec, since TEXTAREA does not contain CDATA. Basically, the
HTML3 spec and the HTML4 spec are in direct disagreement here.... what fun.
Duplicate of "Single line HTML comments get mangled in textarea"
*** 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.
Description
•