mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-07 15:11:32 +01:00
lineup 4 if´s with || (OR)
This commit is contained in:
parent
33f76e4ad7
commit
9c47ebed03
@ -1956,17 +1956,9 @@ function strip_combining_chars($str) {
|
|||||||
$o = 0;
|
$o = 0;
|
||||||
$ord = ordutf8($char, $o);
|
$ord = ordutf8($char, $o);
|
||||||
|
|
||||||
if ($ord >= 768 && $ord <= 879)
|
if ( ($ord >= 768 && $ord <= 879) || ($ord >= 7616 && $ord <= 7679) || ($ord >= 8400 && $ord <= 8447) || ($ord >= 65056 && $ord <= 65071)){
|
||||||
continue;
|
|
||||||
|
|
||||||
if ($ord >= 7616 && $ord <= 7679)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if ($ord >= 8400 && $ord <= 8447)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if ($ord >= 65056 && $ord <= 65071)
|
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$str .= $char;
|
$str .= $char;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user