Error ouput have symbol special in text
<p>I have a sample code :</p>

<pre><code>$text = '&lt;a title="L'Oreal Pure Zone - 80ml"&gt;L'Oreal Pure Zone&lt;/a&gt;';
</code></pre>

<p>When I echo code is error by symbol <code>'</code></p>

<pre><code>echo json_encode($text);
</code></pre>

<p>How to fix it ?</p>
