Closed
Bug 222523
Opened 22 years ago
Closed 21 years ago
angel.com -- Mozilla introduces "</server>" in a textarea text containing "<SERVER>"
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: samuel, Unassigned)
References
Details
Attachments
(1 file)
14.12 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
When rendering the page in the attachment, Mozilla parses the content of the
textarea field to display the original text in the source: "<SERVER>" as
"<SERVER></server". We (the authors of the page) can't figure out whether the
cause of this is our HTML code, or the HTML parser
Reproducible: Always
Steps to Reproduce:
1. Open the document in mozilla -- notice the repetition of the tag
2. This also occurs if you "View Source"
3. Open the document in a text editor: the "</server>" tag isn't there.
Actual Results:
-
Expected Results:
Mozilla should not attempt to parse the content of the text area as any kind of
markup even if the text area contains some sort of markup language.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Above, where it says "<SERVER></server" it should say "<SERVER></server>"
Comment 3•22 years ago
|
||
->Parser to evaluate
This may be related to bug 166866.
Assignee: english-us → parser
Component: English US → Parser
Product: Tech Evangelism → Browser
Version: unspecified → Trunk
Comment 4•22 years ago
|
||
Hoping I'm not way of base here.
http://www.w3.org/TR/html4/interact/forms.html#h-17.7
Textarea is defined as having PCDATA, according to W3. This means text inside
the tags is to be parsed by the browser. So it's not exactly a good idea to have
< and > inside textarea, because these will be parsed. Instead, use > and
<. The extra <\server> is probably included because Mozilla thinks <server>
needs an end tag, so the parser adds it.
But still seems weird to me, so I'm gonna leave this for someone who knows what
they're talking about.
You need to log in
before you can comment on or make changes to this bug.
Description
•