Blacklist tag "AA"

This commit is contained in:
2025-10-30 19:10:32 +01:00
parent 773ae0659c
commit 3fb6c591d7

View File

@@ -80,6 +80,7 @@ final class NodaBlacklistedTerms {
'?', '?',
], ],
'en' => [ 'en' => [
'AA',
'other', 'other',
'others', 'others',
'unknown', 'unknown',
@@ -88,6 +89,7 @@ final class NodaBlacklistedTerms {
'?', '?',
], ],
'hu' => [ 'hu' => [
'AA',
'ism.', 'ism.',
'ismeretlen', 'ismeretlen',
'-', '-',
@@ -111,7 +113,7 @@ final class NodaBlacklistedTerms {
return false; 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; return true;
} }