We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fb5be5 commit 06e7b1cCopy full SHA for 06e7b1c
1 file changed
src/DOMPDFModule/Service/DOMPDFFactory.php
@@ -107,7 +107,11 @@ public function createService(ServiceLocatorInterface $serviceLocator)
107
108
define(static::$configCompatMapping[$key], $value);
109
}
110
-
+
111
+ if ($config['enable_html5parser']) {
112
+ require_once DOMPDF_LIB_DIR . '/html5lib/Parser.php';
113
+ }
114
115
require_once DOMPDF_INC_DIR . '/functions.inc.php';
116
require_once __DIR__ . '/../../../config/module.compat.php';
117
0 commit comments