Skip to main content

Bug Tracker

Side navigation

#2194 closed bug (wontfix)

Opened January 19, 2008 08:37PM UTC

Closed May 16, 2008 07:35PM UTC

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:
Blocked by: Blocking:

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:

Attachments (0)
Change History (4)

Changed January 31, 2008 01:06AM UTC by ejort comment:1

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

Changed May 16, 2008 07:15PM UTC by flesler comment:2

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 ?

Changed May 16, 2008 07:15PM UTC by flesler comment:3

owner: → flesler
status: newassigned

Changed May 16, 2008 07:35PM UTC by flesler comment:4

resolution: → wontfix
status: assignedclosed

Ok, found the version and the problem.

Same as #2035.