Fix: Using double quote break rendering [MAILPOET-1397]

This commit is contained in:
Fred. P
2018-06-12 16:10:09 +02:00
parent 33de2d6a5d
commit cc2a39ac26
2 changed files with 68 additions and 3 deletions

View File

@ -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, 'UTF-8');
return html_entity_decode($this->toString(true, true, 1), ENT_NOQUOTES, 'UTF-8');
}
function getOuterText() {
return html_entity_decode($this->toString(), ENT_QUOTES, 'UTF-8');
return html_entity_decode($this->toString(), ENT_NOQUOTES, 'UTF-8');
}
}
}