Project

General

Profile

Actions

Bug #20040

closed

Links are extended to the end of line under certain circumstances

Added by Alexander von Drach almost 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-02-18
Due date:
% Done:

0%

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

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)

Actions

Also available in: Atom PDF