Ticket #4567 (closed bug: invalid)
jQuery usage of nbsp character entity
|Reported by:||serialseb||Owned by:|
I've struggled for a couple of hours yesterday with firefox really not liking my site served as xhtml 1.1. Took me a while to track down the multitude of plugins and scripts that inject
The problem comes from firefox not parsing external character references in all situations. Whenever an html fragment gets inserted by firefox, and it contains such character entity, all hell breaks loose and script processing stops.
So I've attached a patch that changes the uses of nbsp to the character code. That said, I think it'd be much better for compat if the jquery codebase as a whole was updated to never use any character entity beyond the 5 xml defined ones. It certainly would've solved the problems I encountered.
Stuff not included: widgets, any test code, and datepicker localization.