soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Patch for /trunk/org.openiaml.model.runtime/src/include/html2text/html2text.php #287

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Object Oriented.

added:
// return node's text
if ($name == '#text') {
    return $node->nodeValue;
}

This fixes a bug that must have have been introduced with a new version of PHP 
and DOMDocument (which extends DOMNode).

Thanks,

Justin Roman
jroman00@gmail.com

Original issue reported on code.google.com by jroma...@gmail.com on 28 Dec 2012 at 9:38

Attachments:

GoogleCodeExporter commented 9 years ago
What version of PHP/DOM are you using? Can you provide a test case to reproduce 
this?

Original comment by soundasleep on 30 May 2014 at 12:45