From cb813171cebee43428a0ddfd6361eab4859b940c Mon Sep 17 00:00:00 2001 From: Alexey Stoletniy Date: Tue, 14 Feb 2017 12:22:35 +0300 Subject: [PATCH] Remove html_entity_decode() constants not supported by PHP 5.3 [MAILPOET-812] --- lib/Util/pQuery/pQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Util/pQuery/pQuery.php b/lib/Util/pQuery/pQuery.php index 58d6be8603..b8108d9087 100644 --- a/lib/Util/pQuery/pQuery.php +++ b/lib/Util/pQuery/pQuery.php @@ -18,10 +18,10 @@ class DomNode extends \pQuery\DomNode { var $childClass = 'MailPoet\Util\pQuery\DomNode'; 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() { - return html_entity_decode($this->toString(), ENT_QUOTES | ENT_HTML5, 'UTF-8'); + return html_entity_decode($this->toString(), ENT_QUOTES, 'UTF-8'); } } \ No newline at end of file