Skip to content

Uize.Node.injectHtml, script tags, and Safari #20

@timcarter

Description

@timcarter

It looks like there's a bug in Uize.Node.injectHtml in Safari. When trying to inject some markup, only top-level script tags are evaluated. Any nested tags are ignored. This has caused some problems while dynamically loading content (such as a dialog) into a page. I've thrown together a quick demonstration page at: http://timcarter.github.com/bugs/injectscript.html.

On that page, Firefox, Chrome, and IE throw two alerts while Safari throws only one. The first alert is contained in the top-level script tag while the second is nested one level under a

tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions