You do need them ! My problem was that my background image wouldn't render without the quotes. I don't really know why since there were no spaces in the url. This is why I had to regex them back in :-(. I think jQuery should keep them in there. (especially if the url has a space in it).
On 9 Feb, 23:08, Klaus Hartl <klaus.ha...@googlemail.com> wrote: > On 9 Feb., 22:44, weepy <jonah...@gmail.com> wrote: > > > Yes I think a string would be faster (in this case I'm tied to using > > dom elements) > > > Any ideas on the second part regarding jQuery not writing out single > > quotes properly for background images ? > > It's probably the way the browser internally stores it after parsing. > Thus it's obvious and has been stated before, that you just don't need > them at all in the first place. > > Although ocassionally you have to use > them:http://www.w3.org/TR/CSS21/syndata.html#uri > > --Klaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---