Project

General

Profile

Actions

Bug #18607

closed

links in table header not translated when created with rte

Added by Robert Heel over 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2008-04-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

ux_class.tslib_content.php (17.2 KB) ux_class.tslib_content.php Administrator Admin, 2008-08-18 18:33
Actions #1

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.

Actions #2

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";

Actions #3

Updated by Robert Heel over 15 years ago

resolved in 4.2.2

Actions #4

Updated by Christian Kuhn over 15 years ago

Resolved, fixed as requested by reporter.

Actions

Also available in: Atom PDF