mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Run regex filters on spoiler text
This commit is contained in:
parent
d0a141e31b
commit
f29cb1aca9
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ function Status({
|
|||
[regexFilterLines],
|
||||
);
|
||||
const regexFilterInfo = useMemo(
|
||||
() => regexFilters.map((f) => content.search(f)),
|
||||
() => regexFilters.map((f) => content.search(f) || spoilerText?.search?.(f)),
|
||||
[regexFilters],
|
||||
);
|
||||
const regexFilterTriggered = useMemo(
|
||||
|
|
Loading…
Reference in a new issue