Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-65415

SQL code block is not displaying correctly

XMLWordPrintable

      Summary

      Code block text formatting is not showing correctly when using sql as a prefix is added to all quoted values

      {code:sql}

      This affects copying the SQL code to reuse as it is not incorrect.

      Environment

      • Version 1000.769.1

      Steps to Reproduce

      Using wiki markup in comments/description field, add

      {code:sql}select * from table where column='value'{code}

      Expected Results

      Text formatting shows as

      select * from table where column='value'

      Actual Results

      select * from table where column=quote">"value"

      Notes:

      All new and existing comments with values inside quotes and sql code formatting now have the prefix

      quote">
      

      Workaround

      Edit the comment and rename  {code:sql} to {code}

            Unassigned Unassigned
            nmohdkhalid Nabil
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: