Closed Bug 298623 Opened 20 years ago Closed 20 years ago

view source add the ">" end tag when not in source

Categories

(Toolkit :: View Source, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 70918

People

(Reporter: isotop, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4 I did a little script to minimize my time working. when your HTML script containes something like this: <OPTION <?php if($_POST['day']=="1") echo "selected "; ?>>1</OPTION> the view source adds a "<" entitie in to close the <OPTION tag. the view-source show this: <OPTION ><?php if(@$_POST['day']=="2") echo "selected "; ?>>2</OPTION> i know the problame is the view source because i inserted it into a <textarea>, the textarea showed what i needed but the viewsource still adds the "<". Reproducible: Always Steps to Reproduce: 1.written the HTML into the file. 2.saved it 3.watched it in the view source Actual Results: the view source adds a "<" when the actually source doesnot. this what i wanted to see: <OPTION <?php if($_POST['day']=="1") echo "selected "; ?>>1</OPTION> Expected Results: this is what view-source showed to me: <OPTION ><?php if(@$_POST['day']=="2") echo "selected "; ?>>2</OPTION>
Firefox 1.0.X is too old (the Gecko in FF1.0.X is over 12 months old). Please retest with the Deer Park Alpha or a nightly build.
This was most likely fixed by bug 70918. Dani, please retest with a newer version.
I knew that this should be fixed but didn't know the bug# marking as dupe *** This bug has been marked as a duplicate of 70918 ***
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.