Project

General

Profile

Actions

Bug #22029

closed

cropHTML not honoring whole word setting

Added by Ron Hall almost 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2010-01-30
Due date:
% Done:

0%

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

Description

First, I want to say I love the new cropHTML stdWrap property. But I have found one bug. It is not honoring the whole word setting. This TypoScript:

10 = TEXT
10.value = <h1>This is my line of text I want to crop</h1>
10.cropHTML = 21 |...| 1

produces this output:

<h1>This is my line of te...</h1>

It should be:

<h1>This is my line of ...</h1>

I have tested on TYPO3 4.3.1

(issue imported from #M13371)


Files

issue_13371_v1.diff (810 Bytes) issue_13371_v1.diff Administrator Admin, 2010-02-11 17:18
Actions

Also available in: Atom PDF