Closed
Bug 114759
Opened 23 years ago
Closed 23 years ago
<textarea> lowercases things that look like html closing tags
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: cstrong, Assigned: rods)
Details
I use <textarea> to edit XML files, and some of the tags look like HTML tags. For example we might have: <Section> <Title>intro</Title> <P> this is a test </P> <P> here's paragraph two </P> </Section> As you will probably see from the above (this is being entered in a textarea) The closing "P" tag and the closing "Title" tag are lowercased. HOWEVER, the opening tags are NOT lowercased. Neither Opera nor Internet Explorer 6 exhibit this behavior. According to spec, the content should be left alone. Apparently, the textarea layout algorithm is being too clever and lowercasing anything that it sees as an "html" closing tag. Curious.
Comment 1•23 years ago
|
||
Um... The text you submitted does not have the tags lowercased... Are you pre-filling the textarea with XML and not escaping the "<" and ">" characters?
Comment 2•23 years ago
|
||
Duplicate of "Mozilla sometimes modifies the case of XML embedded in TEXTAREAS" *** This bug has been marked as a duplicate of 64799 ***
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
•