Closed GoogleCodeExporter closed 8 years ago
< is special character in html and should be encoded properly as < when not used
for tags. Even in <pre> tag. Textarea may be an exception.
Original comment by tobiasz....@gmail.com
on 16 Oct 2008 at 12:12
Hum OK, but that's working under jQuery :
<js>$myJqueryElement.append('test<=23');</js>
Original comment by nicolas....@gmail.com
on 16 Oct 2008 at 8:49
Maybe browser's parser hadles better such situations, but it's seems php libxml
dont.
Anyway it shouldn't be used that way IMHO.
Just use htmlspecialchars() before...
Original comment by tobiasz....@gmail.com
on 16 Oct 2008 at 9:01
OK ^^ ! You're right :).
Should be parse before !
Original comment by nicolas....@gmail.com
on 16 Oct 2008 at 9:05
Original issue reported on code.google.com by
nicolas....@gmail.com
on 15 Oct 2008 at 6:25