Feature #34288

Typolink should allow rel attribute

Added by Rafal Brzeski almost 9 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2012-02-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

When I set an attribute rel="nofollow" to the href tag :

<a href="http://typo3.org/" rel="nofollow" target="_blank">Best site http://typo3.org/</a>

the result in frontend is duplicated href tag, and only one of them have set attributes:

<a href="http://typo3.org/" rel="nofollow" target="_blank">Best site</a>
<a href="http://typo3.org/">http://typo3.org/</a>

This situation occurs only when in the linked text is placed the url.

I have looked to database and the content is stored correctly here.


Related issues

Related to TYPO3 Core - Bug #69545: Typo3 6.2 Faulty links in RTEClosed2015-09-05

Actions
Related to TYPO3 Core - Feature #75165: Extend linkhandling with optinal rel="..." attributesClosed2016-03-17

Actions
Related to TYPO3 Core - Feature #78488: Add rel="noopener noreferrer" to links when target is set to _blankClosed2016-10-28

Actions
#1

Updated by Stanislas Rolland almost 9 years ago

You mean that the link is duplicated when the text contains an url?

#2

Updated by Stanislas Rolland almost 9 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Content Rendering
  • Status changed from New to Needs Feedback
#3

Updated by Rafal Brzeski almost 9 years ago

yes, exactly,
please try with it:

<a href="http://typo3.org/" rel="nofollow" target="_blank">TYPO3 home http://typo3.org/</a>
#4

Updated by Alexander Opitz over 7 years ago

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

#5

Updated by Rafal Brzeski over 7 years ago

I have checked this once again on TYPO3 6.1, and yes this bug is still present.

#6

Updated by Alexander Opitz over 7 years ago

  • Status changed from Needs Feedback to New
#7

Updated by Mathias Schreiber almost 6 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from RTE: rel="nofollow" bug to Typolink should allow rel attribute
  • Target version set to 7.2 (Frontend)
#8

Updated by Benni Mack over 5 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
#9

Updated by Susanne Moog over 5 years ago

  • Target version changed from 7.4 (Backend) to 7.5
#10

Updated by Benni Mack about 5 years ago

  • Target version changed from 7.5 to 8 LTS
#11

Updated by Riccardo De Contardi about 5 years ago

  • Category changed from Content Rendering to RTE (rtehtmlarea + ckeditor)
#12

Updated by Riccardo De Contardi about 5 years ago

still present on 7.6-dev (latest master)

#13

Updated by Riccardo De Contardi about 4 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Link Handling, Site Handling & Routing
#14

Updated by Riccardo De Contardi almost 4 years ago

  • Target version changed from 8 LTS to 9.0
#15

Updated by Riccardo De Contardi about 3 years ago

  • Status changed from New to Closed
  • Target version deleted (9.0)

I close this issue for now, as it does not affect TYPO3 version 8.7.x and CKEditor (I tested it with the code in comment 3), and RTEHtmlarea development has been stopped.

RTEHtmlarea has been decoupled from the core and its code is available on GitHub:
https://github.com/FriendsOfTYPO3/rtehtmlarea

If you still need this fixed please create a PR on GitHub.

If you think that this is the wrong decision or I have misunderstood your request, please let me know and I will reopen the issue.

Regards

Also available in: Atom PDF