diff --git a/src/NodaBlacklistedTerms.php b/src/NodaBlacklistedTerms.php index 23db41b..b4f3046 100644 --- a/src/NodaBlacklistedTerms.php +++ b/src/NodaBlacklistedTerms.php @@ -80,6 +80,7 @@ final class NodaBlacklistedTerms { '?', ], 'en' => [ + 'AA', 'other', 'others', 'unknown', @@ -88,6 +89,7 @@ final class NodaBlacklistedTerms { '?', ], 'hu' => [ + 'AA', 'ism.', 'ismeretlen', '-', @@ -111,7 +113,7 @@ final class NodaBlacklistedTerms { return false; } - if (\in_array($toCheck, self::TAG_BLACKLIST[$lang], true)) { + if (\in_array($toCheck, self::TAG_BLACKLIST[$lang], true) || \in_array($name, self::TAG_BLACKLIST[$lang], true)) { return true; }