Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25096

Code block macro recognizes apostrophe as the start of comment in Scala mode

      Hello there,

      We've found out that Confluence code block macro recognizes apostrophe as the start of comment in Scala mode.

      In the following statement,

      SQL("select * from `user_status` where `id` = {id}").on('id -> id).as(UserStatus.simple.singleOpt)
      

      'id is recognized as the start of comment and all the following codes are colored as comment block.

      Please refer to the attached screenshot for details.

      We consider this to be a bug within code block macro, and hope it will be fixed as soon as possible.

            [CONFSERVER-25096] Code block macro recognizes apostrophe as the start of comment in Scala mode

              Unassigned Unassigned
              ee846b91f0c0 G2G JPSupport
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: