Skip to content

Commit ea2738b

Browse files
committed
Update DOMPDFFactory.php
just call require_once DOMPDF_LIB_DIR . '/html5lib/Parser.php'; for define HTML5_Tokenizer
1 parent 06e7b1c commit ea2738b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/DOMPDFModule/Service/DOMPDFFactory.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@ public function createService(ServiceLocatorInterface $serviceLocator)
108108
define(static::$configCompatMapping[$key], $value);
109109
}
110110

111-
if ($config['enable_html5parser']) {
112-
require_once DOMPDF_LIB_DIR . '/html5lib/Parser.php';
113-
}
114-
111+
require_once DOMPDF_LIB_DIR . '/html5lib/Parser.php';
115112
require_once DOMPDF_INC_DIR . '/functions.inc.php';
116113
require_once __DIR__ . '/../../../config/module.compat.php';
117114

0 commit comments

Comments
 (0)