topfunky / hpple

An XML/HTML parser for Objective-C, inspired by Hpricot.
http://topfunky.com
MIT License
2.77k stars 471 forks source link

about the html Escape character #81

Open nyz110 opened 7 years ago

nyz110 commented 7 years ago

my html is <html><body><div id='nativerich'>!;&amp;(*)</div></body></html>

when I use hpple parser my html

I got div raw string : <div id="nativerich">!;&amp;(*)</div> but div content string: "!;&(*)"

how to make div raw string content be same as div content string ,parse &amp; as &

Seeking for Help in Emergency