mirror of
https://gitlab.com/ifiction/ifhub-telegram.git
synced 2024-10-22 22:15:31 +00:00
ellipsis
This commit is contained in:
parent
3d08036a5b
commit
8371aa40f7
1 changed files with 1 additions and 1 deletions
2
bot.php
2
bot.php
|
@ -24,7 +24,7 @@ function get_text($url) {
|
|||
return $resp;
|
||||
}
|
||||
|
||||
function ellipse($str,$n_chars,$crop_str='[...]')
|
||||
function ellipse($str,$n_chars,$crop_str='[…]')
|
||||
{
|
||||
$buff = $str;
|
||||
if(strlen($buff) > $n_chars)
|
||||
|
|
Loading…
Reference in a new issue