jquery-tmpl
jquery-tmpl copied to clipboard
XHTML content fails in Firefox or IE
I took the simple example from the docs and attempted to load it as an XHTML file, but it fails to work in Firefox (it renders nothing because the template itself is empty). I found I could work around this issue by wrapping the template content in a construct, but then the content fails on IE.
To reproduce this issue, I've created this script for IE and this script for FF. They're both proper XHTML files based off of the example in the docs, but one works in IE and the other works in FF. If you load the FF script in IE, the tags are rendered as text. If you load the IE script in FF, nothing is rendered.
Ideally, there should be a way to create templates in an XHTML file.
Could you work around this by working with the template as a string instead of using the <script> method?
Thanks for taking the time to submit this issue. Just wanted to let you know this plugin is no longer being actively developed or maintained by the jQuery team. See README for more info.