Blacklist tag "AA"
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user