title: strip_tags - Strip <a> tags from a <img>
body: <p>Is it possible to us strip_tags to remove  tags that are linking on an image?</p>
  
  <p>For instance I want</p>
  
  <pre><code>&lt;a href=""&gt;&lt;img src="" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>to be</p>
  
  <pre><code>&lt;img src="" /&gt;
  </code></pre>
  
  <p>I need to keep the image and remove all a tags that are around them. Besides using <a href="http://simplehtmldom.sourceforge.net/" rel="nofollow">Simple HTML Dom</a> I was hoping there was an easier way to do this</p>