@John Strickler
There's a context that is accessible that contains everything you have access to within the template. You can retrieve a context from any element inside the instance of the template: $(selector).tmpl().data.

For writing content you want to allow html in,
{{html foo}}