Moar emoji
This commit is contained in:
parent
87dc291c86
commit
d58bd9f1d7
|
@ -45,7 +45,7 @@ sub startup($self) {
|
||||||
|
|
||||||
$self->helper(truncate_text => sub ($c, $input_text) {
|
$self->helper(truncate_text => sub ($c, $input_text) {
|
||||||
my $truncated_text = 500 < length($input_text)
|
my $truncated_text = 500 < length($input_text)
|
||||||
? substr($input_text, 0, 500) . '...' : $input_text;
|
? substr($input_text, 0, 500) . '…' : $input_text;
|
||||||
|
|
||||||
return $truncated_text;
|
return $truncated_text;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user