Project

General

Profile

Actions

Bug #25368

closed

crop and cropHTML doesn't crop if "maxCharacters" is equal or lower than first word

Added by Armin Vieweg about 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
Start date:
2011-03-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Like described in ticket for format.crop viewhelper for fluid (http://forge.typo3.org/issues/11583), the crop and cropHTML method in class.tslib_content.php, doesn't crop if maxCharacters is equal or lower than the stringlength of first word.

Please see some examples in original ticket.

Thanks!
Armin

(issue imported from #M18003)


Files

18003.diff (1.69 KB) 18003.diff Administrator Admin, 2011-03-25 13:42
Actions

Also available in: Atom PDF