title: How to remove HTML markup from string
body: <p>Let's say I have:</p>
  
  <pre><code>@string = "it is a &lt;a href="#"&gt;string&lt;/a&gt;"
  </code></pre>
  
  <p>I want to use it in different parts of my application in two ways:</p>
  
  <ul>
  <li>With a clickable link</li>
  <li>Without the clickable link (but not showing any HTML markup)</li>
  </ul>
  
  <p>The first one can be done using <code>html_safe</code>:</p>
  
  <pre><code>@string.html_safe
  </code></pre>
  
  <p>It is a <a href="http://www.foo.com" rel="noreferrer">string</a></p>
  
  <p>How can I achieve the second one?</p>
  
  <p>It is a string.</p>