Commit Graph

7 Commits

Author SHA1 Message Date
Alex-Code
37caadfab8 Extra truncate HTML tests 2016-09-14 12:40:24 +01:00
Alexander Makarov
cfbe50e96d Fixes #11026: Fixed StringHelper::truncateWords() to count words properly for non-English text 2016-03-30 00:26:56 +03:00
Alexander Makarov
c17f887583 Added StringHelper::countWords() that given a string returns number of words in it 2016-03-16 01:41:57 +03:00
Andrew Nester
6acab778da 10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629 2016-01-21 10:55:52 +03:00
SilverFire - Dima Naumenko
c128d008d3 Added more tests for StringHelper::explode 2015-10-14 12:50:14 +03:00
SilverFire - Dima Naumenko
ccd20793d4 Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0 2015-10-14 00:15:22 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00