Project

General

Profile

Actions

Bug #89521

closed

typolink in ATagParams modifies original URL

Added by Alexander Stehlik over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

When you generate a link in the stdWrap config of ATagParams of a typolink, the original link is replaced with the one generated for the ATagParams.

An example:

page = PAGE

page.10 = TEXT
page.10.typolink.parameter = <some_id>

page.10.typolink.ATagParams.outerWrap = data-some-other-url="|" 
page.10.typolink.ATagParams.cObject = COA
page.10.typolink.ATagParams.cObject {
  10 = TEXT
  10.typolink.parameter = <some_other_id>
  10.typolink.returnLast = url
  stdWrap.htmlSpecialChars = 1
}

Expected output:

<a href="/some-id" data-some-other-url="/some-other-id">Some ID</a>

Current output:

<a href="/some-other-id" data-some-other-url="/some-other-id">Some ID</a>
Actions

Also available in: Atom PDF