Modify ↓
Ticket #2194 (closed bug: wontfix)
Safari 2 writing dom elements with append etc outputs function
| Reported by: | telsner | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.4 |
| Component: | core | Version: | 1.2.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When adding html code to dom elements with append, html or replaceWith Safari doesn't output the html code but instead outputs: function (m, a, b) { return b.match((abbr|br|col|img|input|link|meta| param|hr|area)$ ? m : a+">"; }
Is this a bug? I've made a test page here:
Change History
comment:2 Changed 5 years ago by flesler
Could this be a very old version of Safari, that doesn't support functions as 2nd arguments for string.replace ?
This seems like the reason. Could you provide the exact Safari version you're using ?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

We've seen this exact bug as well. It's also been reported in #2210