Ticket #7105 (closed bug: worksforme)
jQuery error at line 4448 in Safari (Mac, iPad, iPhone)
|Reported by:||v_ignatyev||Owned by:|
|Keywords:||append dom inserting innerHTML Safari||Cc:|
It seems, that the problem is specific for all webkit browsers, but I've caught them on Safari only. It raises the next error:
NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7: An attempt was made to modify an object where modifications are not allowed.
It appears after call $(selector).append(content), when content contains symbol "&", for example: $(document.body).append('Go next →');
The problem can be solved, replacing '&' with '\&' and replacing all another symbols with UTF-8 equivalents.
As I see, it can be a problem of webkit XML parser.