Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6887

TranslationService replaces html links in messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.4.9, 5.5
    • Fix Version/s: None
    • Component/s: i18n
    • Labels:

      Description

      If you want to render a i18n message which contains a html link, the link will be replaced by <a rel="nofollow">.

      It is reproducible on demoauthor instance. Open the groovy console and execute the following statement.

      info.magnolia.objectfactory.Components.getComponent(info.magnolia.i18nsystem.TranslationService.class).translate(new info.magnolia.i18nsystem.FixedLocaleProvider(Locale.ENGLISH), ["pages.noAvailableTemplatesAlert.createTemplateLink"] as String[]) 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              frank.sommer Frank Sommer
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: