Issue Bug Closed

#89521typolink in ATagParams modifies original URL

Alexander Stehlik 10/27/19, 11:33 updated 12/23/19, 22:43

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>

Reviews 2