title: Pass html to an index template and save into a javascript variable with nodejs and hoganjs
body: <p>I have hongajs in my nodejs app, and I need to pass an html content to an variable into my index.html file so, I try with this.</p>
  
  <p>I have on nodejs this fragment:</p>
  
  <pre><code> res.render('index.html',{
                      note:{
                          title: doc.title,
                          body: doc.body
                      }
                  });
  </code></pre>
  
  <p>And in my index.html this:</p>
  
  <pre><code> &lt;script&gt;
      var parseNote = '{{note.body}}';
  &lt;/script&gt;
  </code></pre>
  
  <p>Of corse I tryed with {{{ and JSON.stringify, and many other javascript function, but any seems to work.</p>
  
  <p>Some ideas?</p>