 <p>Or you can try <strong>CGI.unescapeHTML</strong> method.</p> <pre><code>CGI.unescapeHTML "&amp;lt;p&amp;gt;This is a Paragraph.&amp;lt;/p&amp;gt;" =&gt; "&lt;p&gt;This is a Paragraph.&lt;/p&gt;" </code></pre>