@ -117,6 +117,8 @@ class StringHelperTest extends TestCase
$this->assertEquals('<span><imgsrc="image.png"/>This is a test </span><strong>for</strong>...', StringHelper::truncate('<span><imgsrc="image.png"/>This is a test </span><strong>for a sentance</strong>', 18, '...', null, true));
$this->assertEquals('<p>This is a test</p><ul><li>bullet1</li><li>b</li></ul>...', StringHelper::truncate('<p>This is a test</p><ul><li>bullet1</li><li>bullet2</li><li>bullet3</li><li>bullet4</li></ul>', 22, '...', null, true));