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.
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.