Ignore if there is URL
<p>This question is continuation of:
<a href="http://stackoverflow.com/questions/14880551/garbage-values-coming-on-pulling-data-from-wordpress">Garbage values coming on pulling data from wordpress</a></p>

<p>I have dealt with the garbage value by using following piece of code:</p>

<pre><code> htmlentities($entry-&gt;title, ENT_QUOTES | ENT_IGNORE, 'UTF-8')
</code></pre>

<p>The problem with above piece of code is that if there is any url in the data then instead of showing that url it breaks the url to something like following:</p>

<p><code>&amp;#8230; &lt;a href="http://abc.com/blog/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</code></p>

<p>Kindly let me know how to ignore if there is url.</p>
