I have a background image with a parenthesis in the filename:
<DIV style="BACKGROUND: url('http://site.com/image(8).png');"></DIV>
This is fine normally, and there is no confusion because there are quotes around the file name.
Looking in IE's developer tools however, I see that the browser stripped the quotes for some reason.
<DIV style="BACKGROUND: url(http://site.com/image(8).png);"></DIV>
Still, it works, so not a big deal. The problem comes when I try to use jquery's clone function.
Apparently, the output after clone() does not recognize the above image url as valid in IE8 and strips it out (other browsers, including IE7, are fine). And so I end up with this:
<DIV></DIV>
Anyone know how to fix this? That is, clone a background image with parenthesis in the url in IE8.
Thanks.
Also, as an addendum I have to use inline styling in for the relevant elements, so please don't recommend using a separate stylesheet.
Ad2: On escaping, After browser rendering the escaped entities becomes unescaped. Cloning again happens after page load, and the selected object to clone has unescaped characters in them.