t parsing code).</p>
<hr>
<h3 id="avoid-trusting-html"><a href="#avoid-trusting-html">Avoid trusting HTML</a></h3>
<p>As a general rule of thumb, you should avoid using <code>m.trust</code> unless you are explicitly rendering rich text and there&#39;s no other way to get the results that you want.</p>
<pre><code class="lang-javascript">// AVOID
m(&quot;div&quot;, m.trust(&quot;hello world&quot;))

// PREFER
m(&quot;div&quot;, &quot;hello world&quot;)
</code></pre>
<h4 id="avoid-blind-copying-and-pasting"><a