fix(browser-extension): property didn't exist
This commit is contained in:
parent
f3c05232af
commit
31e06256fa
@ -118,7 +118,7 @@ const match = (node, skipMatch) => {
|
||||
);
|
||||
} else {
|
||||
// 2023-06-10: fix edge case force cleaning on children if no attributes
|
||||
if (data?.commonWords && node.outerHTML.match(new RegExp(commonWords?.join('|')))) {
|
||||
if (data?.commonWords && node.outerHTML.match(new RegExp(data.commonWords.join('|')))) {
|
||||
forceClean(node);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user