We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9379b1d commit a336affCopy full SHA for a336aff
app/code/Magento/PageBuilder/Plugin/Filter/TemplatePlugin.php
@@ -171,7 +171,7 @@ private function createDomDocument(string $html) : \DOMDocument
171
$domDocument = new \DOMDocument('1.0', 'UTF-8');
172
set_error_handler(
173
function ($errorNumber, $errorString) {
174
- throw new \Exception($errorString, $errorNumber);
+ throw new \DOMException($errorString, $errorNumber);
175
}
176
);
177
$string = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8');
0 commit comments