title: How to add trademark symbols
body: <p>I am trying to add a trademark symbol to all the instances of "Imagination Playground" in my HTML document. However I end up with something like this:</p>
  
  <pre><code>&amp;lt;i class="fa fa-trademark"&amp;gt;&amp;lt;/i&amp;gt;
  </code></pre>
  
  <p>It seems like the symbol I am using is converted to HTML characters. How can I escape that?</p>
  
  <p>This is my original Ruby code:</p>
  
  <pre><code>body = "&lt;p&gt;Whether you want to build a playground, make play a priority in your community, or learn more about Imagination Playground , we've got webinars for you in March!&lt;/p&gt;
    &lt;p&gt;As always, all our webinars are FREE. All you need to participate is a phone and a computer with an Internet connection.&lt;/p&gt;"
  new_body = Nokogiri::HTML(body)
  new_body.encoding = 'UTF-8'
  new_body.css('p','a').each{ |p|
  p.content =  p.content.gsub(/Imagination Playground\s/,'Imagination Playground&lt;i class="fa fa-trademark"&gt;&lt;/i&gt;');
  puts new_body
  </code></pre>
  
  <p>And this is what I get:</p>
  
  <pre><code>&lt;p&gt;Whether you want to build a playground, make play a priority in your community, or learn more about Imagination Playground&amp;lt;i class="fa fa-trademark"&amp;gt;&amp;lt;/i&amp;gt;, we've got webinars for you in March!&lt;/p&gt;
  &lt;p&gt;As always, all our webinars are FREE. All you need to participate is a phone and a computer with an Internet connection.&lt;/p&gt;
  </code></pre>
  
  <p>How can I replace that HTML paragraph and escape ampersand and special characters?</p>