[xml] htmlentities problem




Hello,


I have a problem with htmlentities.

A badly coed HTML source does not contain the "<"
So the problem, all the html nœud are lost, and the texts of nodes seem to be mixed.

===== Example == (sample code extract from Url : http://www.bucheron.net/weblogs/index.php?2006/06/19/3129 )
<div>
<a href="" title="Enfin de l'action dans la petite galaxie Fran\347aise du Web 2.0"><< Article suivant</a> |
</div>
============================

============ Result =========
<div>
<a href="" title="Enfin de l'action dans la petite galaxie Française du Web 2.0"> | </a>
</div>
============================

Does anyone have a solution ?

Thank you,


--
Stéphane Rubino



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]