Closed Bug 305071 Opened 20 years ago Closed 20 years ago

textarea with php embeded does not display correctly

Categories

(Toolkit :: Form Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 227358

People

(Reporter: jacs, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Send this to the browser (ie THIS IS FROM VIEW SOURCE ON FIREFOX) <textarea name="letter" cols="70" rows="20" readonly="readonly"> This is broken php <?php = fopen("test.pdf", "w"); = PDF_get_info(); </textarea> It is displayed wrongly it does not see the </textarea> as an end marker in Firefox. Seems as though firefox does some simple <?php ?> parsing? If you send <textarea name="letter" cols="70" rows="20" readonly="readonly"> This is good php <?php = fopen("test.pdf", "w"); = PDF_get_info(); ?> </textarea> then it displays OK. Both forms display OK in IE6 Reproducible: Always Steps to Reproduce: 1.see details 2. 3. Actual Results: textbox displays </textarea> and following html code Expected Results: </textarea> should close the textarea!
*** This bug has been marked as a duplicate of 227358 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.