Bug #18607
closedlinks in table header not translated when created with rte
0%
Description
If you create a table with the RTE like
<table><thead><tr><th><link 1>Head</link></th></tr></thead><tbody><tr><td><link 1>Body</link></td></tr></tbody></table>
t3 translate it in the frontend into
<table class="contenttable"><thead><tr><th><link 1>Head</link></th></tr></thead><tbody><tr><td><p class="bodytext"><a href="index.php?id=1" target="page" >Body</a></p></td></tr></tbody></table>
and forget to convert the link in th. When viewing the content in RTE, the link is translated.
Tested with T3 4.1.6 / 4.2.0RC1 with TV 1.3.3
(issue imported from #M8097)
Files
Updated by Robert Heel over 16 years ago
Hmm, mantis killed the link in table body...
The link in <td> in the frontend is correct.
Updated by Jrg Leshel over 16 years ago
same issue in version 4.2.1
its a bug in class.tslib_content.php
function parseFunc($theValue, $conf, $ref='')
"th" is just not getting considered when parsing links
$colParts = $htmlParser->splitIntoBlock('td',$vv);
but no
$colParts = $htmlParser->splitIntoBlock('th',$vv);
to fix it you can use the attached ux_class and
write something like this into your localconf.php
$TYPO3_CONF_VARS["FE"]["XCLASS"]["tslib/class.tslib_content.php"] = PATH_typo3conf."ux_class.tslib_content.php";
Updated by Christian Kuhn over 15 years ago
Resolved, fixed as requested by reporter.