[TYPO3-core] RFC: Bug #5841: parseFunc tags.XXX for single tags doesn't work
Ernesto Baschny [cron IT]
ernst at cron-it.de
Fri Jun 22 17:17:28 CEST 2007
Hi,
this is a SVN patch request.
Branch: TYPO3_4-1, trunk
Problem: 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
}
}
a) Won't handle: <img src="..." ... />
b) Will handle: <img/>
c) Will handle: <img src="..." ...></img>
So currently one cannot write a parseFunc for such an img tag, which is
always from type a).
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. My next
patch request will take care of adding that for the upcoming 4.2 release.
Reference: http://bugs.typo3.org/view.php?id=5841
Attached patch fixes the problem.
Cheers,
Ernesto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug-5841-parseFunc.diff
Type: text/x-diff
Size: 547 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070622/da2283f6/attachment.bin
More information about the TYPO3-team-core
mailing list