Use css to truncate the page title
This commit is contained in:
@@ -45,6 +45,8 @@ class TextHelperTest extends Base
|
||||
|
||||
$this->assertEquals('abc', $h->truncate('abc'));
|
||||
$this->assertEquals(str_repeat('a', 85).' [...]', $h->truncate(str_repeat('a', 200)));
|
||||
|
||||
$this->assertEquals('Настольная рекл [...]', $h->truncate('Настольная реклама в фудкорте ГЧ', 15));
|
||||
}
|
||||
|
||||
public function testContains()
|
||||
|
||||
Reference in New Issue
Block a user