Project

General

Profile

Actions

Bug #26915

closed

stdWrap.cropHTML does not recognize TYPO3 link attribute correctly (and removes text around)

Added by Jakub Černek over 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2011-05-19
Due date:
% Done:

100%

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

Description

Hi,
when the cropHTML try crop text inside TYPO3 link in longer form (e.g. <link - mail "Open email window"></link>), then all paragraph (or other tag with content) around this link is removed.
It can lead to remove all content.
Responsible is RegExp on line 4323 in typo3_src-4.4.7/typo3/sysext/cms/tslib/class.tslib_content.php
It doesn't handle dash and doublequote signs…


Files

26915.diff (510 Bytes) 26915.diff Fix Jakub Černek, 2011-05-20 01:38

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #30005: stdWrap.cropHTML wrong on full-word crop shortly inside HTML-elementClosed2011-09-19

Actions
Actions

Also available in: Atom PDF