Issue Bug Closed

#19957linkHandler different than "record" leads to rteerror

Martin Holtz 02/03/09, 10:17 updated 08/06/10, 13:24

Description

class.tslib_content.php->typoLink($linktxt, $conf)
provides an hook for an linkHandler.

So an typolink like:
<link>internal-link>LinkText

is valid.

But if i do it in an rte field, i get:

<link p>

internal-link>LinkText

Because in

typo3_src/t3lib/class.t3lib_parsehtml_proc.php->TS_links_rte($value)

there is only “record:” allowed.

Reproduce:

create text content element, disable rte and put this snippet into it:

<link>internal-link>LinkText

save – everything will be fine.

Activate rte – you will see the error, deactivate the rte you get:

<link p>

internal-link>LinkText

You do not need to install an Extension or select something from the RTE do prove that.

(issue imported from #M10331)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.