I have this JQuery template:
$.tmpl('<p>${text}</p>', { text: 'cool text' }).appendTo('div');
Works great. but now I want to pass a html parameter into it, but the following won't work.
$.tmpl('<p>${text}</p>', { text: '<span>cool text</span>' }).appendTo('div');
Any suggestions?