Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1747

I18nTextReader escape \{ even when there is no i18n following

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0M6
    • 4.0M5
    • None
    • None

      The I18nTextReader (soon to be renamed I18nTextResourceHandler) matches too much :

      "\{"

      is replaced by

      "{"

      in every javascript file. It should only be matched/replaced when preceding an I18n declaration

      "\{{i18n ".

      Example : the ext-all-debug.js has

      "\{"

      in regex that is replaced with

      "{"

      , or string

      "\\{1}"

      which is replaced with

      "\{1}"

            quentin Quentin Glinel-Mortreuil (Inactive)
            glefebvre Grégory Lefebvre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: