PDA

View Full Version : Firefox! WHY DO U EAT QUOTES!


pimpery
03-12-2005, 06:30 PM
The problem can be seen by using this example:
<option onClick="var d='2';var s='Test Example';var m='\"';setvals(d,s,m)">
Put that in a file and name it test.html
Open it with firefox. FireFox will eat the last double quote and put the source as:
<option onClick="var d='2';var s='Test Example';var m='\"';setvals(d,s,m)>

This is so frustrating. Can someone please tell a temp solution until the actual
problem is fixed.

Reproducible: Always

Steps to Reproduce:
1.Have a piece of a string escaped in between a tag like, onLoad="var t='\"';"
2.Load in FireFox
3.The Last Double-Quote of the onLoad tag, will be eaten.

Actual Results:
The double-quote was eaten!!!

Expected Results:
Not eating the double-quote? why is ff so hungry? :(

BamaStangGuy
03-15-2005, 02:34 AM
The problem can be seen by using this example:
<option onClick="var d='2';var s='Test Example';var m='\"';setvals(d,s,m)">
Put that in a file and name it test.html
Open it with firefox. FireFox will eat the last double quote and put the source as:
<option onClick="var d='2';var s='Test Example';var m='\"';setvals(d,s,m)>

This is so frustrating. Can someone please tell a temp solution until the actual
problem is fixed.

Reproducible: Always

Steps to Reproduce:
1.Have a piece of a string escaped in between a tag like, onLoad="var t='\"';"
2.Load in FireFox
3.The Last Double-Quote of the onLoad tag, will be eaten.

Actual Results:
The double-quote was eaten!!!

Expected Results:
Not eating the double-quote? why is ff so hungry? :(
Report it to Firefox

Guy G
03-15-2005, 03:37 AM
Are you using 1.1?