Project

General

Profile

Actions

Bug #17872

closed

cropHTML does not crop non-HTML

Added by Felix Oertel over 14 years ago. Updated about 14 years ago.

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

0%

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

Description

hey ho,

i just tried to crop a non-HTML string with cObj::cropHTML() which does not work. instead the hole string is given back as is ...

regards, foertel

(issue imported from #M14575)

Actions #1

Updated by Jochen Rau over 14 years ago

I was not able to reproduce the described behavior.
debug($this->cObj->cropHTML('foo bar baz','5'));
resulted in |foo b|
as expected. Can you give me a hint, please?

Actions

Also available in: Atom PDF