Kieran
Kieran
The comment regex in https://github.com/xemlock/htmlpurifier-html5/blob/master/library/HTMLPurifier/Lexer/HTML5.php#L57 can cause catastrophic back tracking. The result is `preg_replace_callback` returns `null` Workaround is to increase `pcre.backtrack_limit`. However, I think it would be better if the...
This reverts commit f16ace76cd866b7f8aebc78edbba91a8b8b3e3f6.
When provided with a large HTML document (over a million characters) the `Core.AggressivelyFixLt` regex results in catastrophic backtracking and `$html = null` being returned. TLDR; HTMLPurifier gives you back a...
For example https://github.com/neuron-core/neuron-ai/blob/2.x/src/RAG/VectorStore/MeilisearchVectorStore.php
Closes #1667 Are you receptive to this and is this along the right lines (before I spend any more time on it)? I've only really tested date picker and select...
The tests weren't working before, they now use GitHub Actions and are 🟢 - https://github.com/bytestream/laravel-acl/actions/runs/15737052149 This PR adds Laravel 12 support
Implements relevance sorting and superset relationship handling similar to `highlight.js` https://github.com/highlightjs/highlight.js/blob/26e12724e17725d29f0de4d88f5fa5bb5c67303c/src/highlight.js#L613
`ignoreIllegals: true` results in discrepancies between `highlightAuto` in `lowlight` and `highlightAuto` in `highlight.js`. Setting `ignoreIllegals: false` seems to result in better detection, and match the results from `highlight.js`. For example...
Closes #82 Uses https://github.com/ezyang/htmlpurifier/pull/440