Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5880

Make translations accept html markup

    XMLWordPrintable

Details

    • 3
    • M

    Description

      Context:
      When we want to add translation to text that contain hrefs or b elements, we have the use the 'dangerouslySetInnerHTML' in order to do that. This is quite risky to XSS attacks and also cumbersome to deal with. We can investigate the possibility of making the translation utility accept JSX markup variables and returning a JSX markup containing the full translation.

      AT:

      • Make the translation utility function accept and return JSX markup

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce