Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1238

STK external link title html-escaped twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • 2.6.x
    • 2.5.1
    • None
    • Magnolia 5

    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("Ü", "Ü")]
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cedric Cedric Reichenbach
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: