I'd like to get the un-altered/un-rendered/whatever content of a block in handlebars. So, let's say I've got the following:
{{#template}}
<tr><td>{{name}}</td><td>{{price}}</td></tr>
{{/template}}
If I've got a helper called 'template', I'd like to be able to reference the original content block - not the 'compiled' template block. So, I'd like to be able to get the string of <tr><td>{{name}}</td><td>{{price}}</td></tr>
without the {{name}}
and {{price}}
being 'rendered'.
Right now, it looks like the only thing I have access to is 'this.options.fn', which seems to be just a precompiled template piece.
Is there any way to accomplish this? So far all I'm seeing is references to the compiled content.
Note - if there's even a way to just say "I literally want this printed out", that would work just fine as well. For example, {literal} in Smarty, which will ignore everything until {/literal}.