getInnerText returns funny characters in place of html entities
Closed this issue · 1 comments
GoogleCodeExporter commented
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
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
- Changed state: WontFix
- Added labels: Priority-Low
- Removed labels: Priority-Medium