I have come across a bug in my code which needs fixing but I am at a loss as to how fix.
I am extracting html from another site using cURL, which works for 99% of the pages pulled. However as you can see from the html code below, the site are actually using the < symbol instead of < which means my code it interpreting that as a open bracket.
<div class="profileheadcontent">
<span class="txtGrey size15">
31
year old
Female,
< 5' (< 152 cm),
Christian - other
</span>
</div>
Any suggests? ( If anyone suggests using DOM I will go mad! )