grav/tests/unit
Davide Liessi a1abcfd067 Move fix for #1114 to Truncator::truncateLetters (#2004)
* Move fix for #1114 to Truncator::truncateLetters

The original fix provided by #1125 in Utils::truncateHtml compared the
summary size with the full HTML string length.
Thus, the string was still being truncated (and the HTML rewritten) even
when only the HTML string length, and not the text length, exceeded the
summary size.

* Add fix for #1114 also to Truncator::truncateWords
2018-05-15 11:38:48 -06:00
..
Grav Move fix for #1114 to Truncator::truncateLetters (#2004) 2018-05-15 11:38:48 -06:00
_bootstrap.php Setup _bootstrap to setup Grav 2016-01-05 11:52:07 +01:00