[MGNLSTK-1238] STK external link title html-escaped twice Created: 12/Sep/13  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.5.1
Fix Version/s: 2.6.x

Type: Bug Priority: Neutral
Reporter: Cedric Reichenbach Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: escape, quickwin, umlaut
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 5


Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When creating an external link inside an STK link list with umlaute (ä, ö, ü), they will appear as escaped HTML code on the website (ä becomes ä etc.).
The reason for this seems to be that the text gets escaped twice instead of just once.

Workaround (for umlaute) in externalLink.ftl:

[#assign linkTitle = linkTitle?replace("ä", "ä")]
[#assign linkTitle = linkTitle?replace("ö", "ö")]
[#assign linkTitle = linkTitle?replace("ü", "ü")]
[#assign linkTitle = linkTitle?replace("Ä", "Ä")]
[#assign linkTitle = linkTitle?replace("Ö", "Ö")]
[#assign linkTitle = linkTitle?replace("Ü", "Ü")]


 Comments   
Comment by Jan Haderka [ 02/Jul/18 ]

STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation.

Generated at Mon Feb 12 07:34:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.