title: How to encode decoded-html in Node.js?
body: <p>I'm playing around with Node.js and have connected to my mysql-database and are fetching 
  some blog-records, but the contents are decoded html in the db. I can't seem to encode.
  I've tried it in the controller (i'm using express), and are trying it in the jade-view. 
  Actually i have not a clue about best practices, but are anyway hacking through something.
  Some help would be appreciated. </p>
  
  <p><strong>In my index.jade:</strong> </p>
  
  <pre><code>var StringDecoder = require('string_decoder').StringDecoder;
  var decoder = new StringDecoder('utf8');
  
  
  extends layout
  </code></pre>
  
  <p>The problem lies somewhere with Jade (but where?): </p>
  
  <p>From controller: </p>
  
  <pre><code> res.render('index', { title: '&lt;i&gt;Express&lt;/i&gt;', bloglist : rows });
  </code></pre>
  
  <p>The html tags is not showing correctly: </p>
  
  <pre><code>&lt;i&gt;Express&lt;/i&gt;
  
  
  block content
    h1= title
    p Welcome to #{title}
  
       div
        for blog in bloglist
          h3 #{blog.Title}
           p #{decoder.write(blog.Text)}
  </code></pre>