title: jsrender nested templates with string markup
body: <p>i'm newbie with jsrender. I've writting template for one custom treeview with script markup see above :</p>
  
  <pre><code> &lt;script id="jstemplate" type="text/x-jsrender"&gt;
          {{if IsFolder}}{{include tmpl="#jsfoldertemplate"/}}{{else}}{{include tmpl="#jsfiletemplate"/}}{{/if}}
  &lt;/script&gt;
  
  &lt;script id="jsfoldertemplate" type="text/x-jsrender"&gt;
      &lt;li data-jstree='{"type":"{{:ClassName}}"}' data-fold="{{:IsFolder}}" data-path="{{:RP}}"&gt;{{:Nom}}&amp;nbsp;&lt;span style="font-size:smaller"&gt;({{:Size}}&amp;nbsp;{{:NbFiles}}&amp;nbsp;fichier(s))&amp;nbsp&lt;span&gt;{{:Lock}}&lt;/span&gt;&lt;/span&gt;
          &lt;ul&gt;
              {{for children tmpl="#jstemplate"/}}
          &lt;/ul&gt;
      &lt;/li&gt;
  &lt;/script&gt;
  
  &lt;script id="jsfiletemplate" type="text/x-jsrender"&gt;
      &lt;li data-jstree='{"type":"{{:ClassName}}"}' data-fold="{{:IsFolder}}" data-path="{{:RP}}"&gt;
          &lt;span {{:InspectorInfo}} class="SpanEtat {{:Inspector}}"&gt;&lt;/span&gt;&amp;nbsp;
          &lt;span class="ui-link" onclick="$get('&lt;%=Me.ClientID%&gt;').FileSelected('{{:RP}}','{{:Nom}}');" style="vertical-align:middle"&gt;{{:Nom}}&lt;/span&gt;&amp;nbsp;
          &lt;span style="font-size:smaller"&gt;({{:Size}}&amp;nbsp;{{:LastModif}})&amp;nbsp;&lt;span&gt;{{:Lock}}&lt;/span&gt;&lt;/span&gt;
      &lt;/li&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>And after in my js code :</p>
  
  <pre><code>$(#MyDiv').html('&lt;ul&gt;' + $('#jstemplate').render(NO.Nodes) + '&lt;/ul&gt;');
  </code></pre>
  
  <p>that's work fine </p>
  
  <p>Now i would like to put this template in a string (for writting an jqm widget) but i'm become crazy with subtemplate....</p>
  
  <p>i've tried a lot of solution but nothing work....</p>
  
  <p>if someone have any ideas ...?</p>
  
  <p>thanks</p>