Fix to don't encode some types

e.g. &lt;button&gt;&amp;lt;i class=&quot;icon-ok-sign&quot;&amp;gt;&amp;lt;/i&amp;gt; Save&lt;/button&gt;