yanwong / ganon

Automatically exported from code.google.com/p/ganon
0 stars 0 forks source link

getInnerText returns funny characters in place of html entities #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What will reproduce the problem?
$node->getInnerText() returns funny characters in place of html entities. 
$node->html() returns entities correctly.

Which version are you using?
Ganon file generated on 20 Oct 2012

Original issue reported on code.google.com by cog...@gmail.com on 12 Dec 2012 at 10:07

GoogleCodeExporter commented 8 years ago
Yes, the entities are part of the HTML.
If you want the source, you can use html() or $node->toString(true, true, 1).

Thanks for the report, though!

Original comment by niels....@gmail.com on 7 Apr 2013 at 2:54