Project

General

Profile

Actions

Bug #25302

closed

Broken links representation gets saved to the database

Added by Oliver Hader over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2011-03-10
Due date:
% Done:

100%

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

Description

Imagine that you have a content element with a link to a internal page that does not exist anymore. On editing this content element, RTEhtmlarea marks this link with yellow background and a red border.
On saving the form without touching the content in the RTE at all, the styles used for representing this broken link are saved to the database and then get wrapped by an addition span tag.

So, on saving again one will end out in something like this:

< p >< em >
  < span style="background-color: yellow; border:2px red solid; color: black;" >
    < a style="background-color: yellow; border:2px red solid; color: black;" rteerror="No page found: 2913" title="Opens internal link in current window" class="internal-link" href="http://dev45.local/?id=99999" >TEST< /a >
  < /span >
< /em >< /p >

(issue imported from #M17917)


Files

0017917_screenshot.png (36.2 KB) 0017917_screenshot.png Administrator Admin, 2011-03-10 12:20
0017917.patch (770 Bytes) 0017917.patch Administrator Admin, 2011-03-11 17:49
Actions

Also available in: Atom PDF