Actions
Bug #17412
closedparseFunc tags.XXX for single tags doesn't work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-06-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
parseFunc "tags" doesn't work if the tag is a single tag which has attributes. E.g. the following:
lib.parseFunc_RTE {
tags.img = TEXT
tags.img {
current = 1
case = upper
}
}
Won't handle: <img src="..." ... />
Will handle: <img/>
Will handle: <img src="..." ...></img>
So currently one cannot write a parseFunc for such an img tag.
This can be used for example for the click-enlarge rendering of images embedded in RTE, as Stanislau alterady added to rtehtmlarea code a year ago, but marked as "EXPERIMENTAL" because of this core bug. See related bug report #14605
(issue imported from #M5841)
Actions