Bug #20040
closedLinks are extended to the end of line under certain circumstances
0%
Description
This happened after I copied page from a website, pasted it into the RTE and edited a link that appeared somewhere in the text.
After setting the link, it got extended to the end of the current line.
As far as I can tell, it seems to happen if the line with the link is ended with a <br />, immediately followed by a line break (but even then it happened not always).
I was able to reproduce it as followed:
- create new text content element on some page
- enter two lines:
These are some words.
Some more words.
- link the word 'some' in the first line to something (I used http://example.com).
- toggle HTML source, replace the </p><p> between the lines with a <br /> and a line break.
- toggle HTML source
- put cursor inside the link, edit link (I added ?x=y to the link target)
- after saving with 'set link', the rest of the line (i.e. 'words' and also the ending <br />) was linked as well.
TYPO 4.2.6
Server: Windows 2003 Server, Apache 2.2.11 and PHP 5.2.8
Client: both Windows 2003 Server and Windows XP
Browser: Firefox 3.0.6
(issue imported from #M10470)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - TYPO3 Version set to 4.2
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander von Drach over 11 years ago
I wasn't able to reproduce this in 4.5 or 6.0 (no 6.1 available atm). It seems to be fixed.
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to Closed