diff --git a/typo3/sysext/cms/tslib/class.tslib_content.php b/typo3/sysext/cms/tslib/class.tslib_content.php index 6701b70..1e6cc9f 100644 --- a/typo3/sysext/cms/tslib/class.tslib_content.php +++ b/typo3/sysext/cms/tslib/class.tslib_content.php @@ -4246,7 +4246,7 @@ class tslib_cObj { $chars = intval($options[0]); $absChars = abs($chars); $replacementForEllipsis = trim($options[1]); - $crop2space = $options[2] === '1' ? TRUE : FALSE; + $crop2space = trim($options[2]) === '1' ? TRUE : FALSE; // Split $content into an array (even items in the array are outside the tags, odd numbers are tag-blocks). $tags= 'a|b|blockquote|body|div|em|font|form|h1|h2|h3|h4|h5|h6|i|li|map|ol|option|p|pre|sub|sup|select|span|strong|table|thead|tbody|tfoot|td|textarea|tr|u|ul|br|hr|img|input|area|link';