Remove html_entity_decode() constants not supported by PHP 5.3 [MAILPOET-812]

This commit is contained in:
Alexey Stoletniy
2017-02-14 12:22:35 +03:00
parent 3f188e3690
commit cb813171ce

View File

@ -18,10 +18,10 @@ class DomNode extends \pQuery\DomNode {
var $childClass = 'MailPoet\Util\pQuery\DomNode'; var $childClass = 'MailPoet\Util\pQuery\DomNode';
function getInnerText() { function getInnerText() {
return html_entity_decode($this->toString(true, true, 1), ENT_QUOTES | ENT_HTML5, 'UTF-8'); return html_entity_decode($this->toString(true, true, 1), ENT_QUOTES, 'UTF-8');
} }
function getOuterText() { function getOuterText() {
return html_entity_decode($this->toString(), ENT_QUOTES | ENT_HTML5, 'UTF-8'); return html_entity_decode($this->toString(), ENT_QUOTES, 'UTF-8');
} }
} }