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

Make translations accept html markup

XMLWordPrintable

    • 3
    • M

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: