
In PHP runtimes with PCRE JIT enabled, larger blocks of HTML could trigger a PCRE_ERROR_JIT_STACKLIMIT error if the pattern `` isn't in the HTML.

The regex match statement has been modified to prevent lookbacks in PCRE It only runs when the `use_kwt` configuration option is enabledĢ. Resolve PCRE JIT Stack Limit Error This PR optimises the Keep With Tables `preg_replace` in the `Mpdf::AdjustHTML()` method so that:ġ.
