Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-14372

Javascript syntax highlighting broken with back tic `

    XMLWordPrintable

Details

    Description

      When the parser encounters a back tic character (`), it correctly interprets it as a string. However when the closing back tic is preceded by a closing curly brace, }, it seems to fail to recognize the closing of the string, thus the remainder of the file is highlighted as though it is a single massive string.

      This is a common occurrence due to ES2015 + spec for template strings which use variable notation as ${myVar}

      Attachments

        Activity

          People

            Unassigned Unassigned
            683abd938985 alexlamberti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: