3 ms·
Isn’t escaping usually done with a backslash (`\`) instead of a forward slash (`/`)? I don’t see how something like `$('<div />');` could interfere with that.
by mathias 16y ago
Isn’t escaping usually done with a backslash (`\`) instead of a forward slash (`/`)? I don’t see how something like `$('<div />');` could interfere with that.
- IgorPartola 16y agoJavaScript escaping is done with backslashes: var str = "Hello \"world\", how\\are you"; But once you have your string composed, jQuery does not as far as I know have a way to escape characters like < and >.