Fix rendering text with unclosed paragraph tags

[MAILPOET-4044]
This commit is contained in:
wxa
2021-12-29 00:36:41 +03:00
committed by Veljko V
parent 6a512b1df7
commit a2ff1fdf7b

View File

@@ -2,9 +2,9 @@
namespace MailPoet\Util\pQuery;
use MailPoetVendor\pQuery\HtmlParser;
use MailPoetVendor\pQuery\Html5Parser as pQueryHtml5Parser;
class Html5Parser extends HtmlParser {
class Html5Parser extends pQueryHtml5Parser {
/** @var string|DomNode */
public $root = DomNode::class;
}