Skip to content

Commit a18c237

Browse files
committed
Merge pull request #13 from ddetyuk/master
Fixed issue "Fatal error: Class 'HTML5_Tokenizer' not found " when enable_html5parser option enabled.
2 parents 5fb5be5 + b124f2a commit a18c237

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DOMPDFModule/Service/DOMPDFFactory.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ public function createService(ServiceLocatorInterface $serviceLocator)
107107

108108
define(static::$configCompatMapping[$key], $value);
109109
}
110-
110+
111+
require_once DOMPDF_LIB_DIR . '/html5lib/Parser.php';
111112
require_once DOMPDF_INC_DIR . '/functions.inc.php';
112113
require_once __DIR__ . '/../../../config/module.compat.php';
113114

0 commit comments

Comments
 (0)