This commit is contained in:
Aleksandr Yakovlev 2024-09-09 10:07:40 +06:00
parent 3d08036a5b
commit 8371aa40f7
No known key found for this signature in database
GPG key ID: 8269E24B4008E32A

View file

@ -24,7 +24,7 @@ function get_text($url) {
return $resp; return $resp;
} }
function ellipse($str,$n_chars,$crop_str='[...]') function ellipse($str,$n_chars,$crop_str='[]')
{ {
$buff = $str; $buff = $str;
if(strlen($buff) > $n_chars) if(strlen($buff) > $n_chars)