Bug Tracker

Modify

Ticket #2194 (closed bug: wontfix)

Opened 6 years ago

Last modified 6 years ago

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:

 http://www.bureau-va.com/dev/safari2/test.html

Change History

comment:1 Changed 6 years ago by ejort

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

comment:2 Changed 6 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 ?

comment:3 Changed 6 years ago by flesler

  • Owner set to flesler
  • Status changed from new to assigned
  • Milestone changed from 1.2.3 to 1.2.4

comment:4 Changed 6 years ago by flesler

  • Status changed from assigned to closed
  • Resolution set to wontfix

Ok, found the version and the problem.

Same as #2035.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.