Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-15895

Using {code:sql} this is adding quote"> before the first single quote of each line.

XMLWordPrintable

      Summary

      Users trying to use {code:sql} and this is adding the following characters quote"> before the first single quote.

      Steps to Reproduce

      1 - Start to add a comment or a description in an Issue in JIRA;
      2 - Use the {code:sql}
      3 - This is breaking and is generating the characters quote">

      Example:
      Add a comment with the following:

      {code:sql}
      UPDATE table SET value = 'test';
      {code}

      This will produce the following output:
      UPDATE table SET value = quote">'test';

       

      **See attachments.

      Expected Results

      Adding a comment using code block sql and this not add "quote">", like this:
      {code:sql}
      UPDATE table SET value = 'test';
      {code}

      Workaround

      Modify the code block header to {code} instead of {code:sql}

        1. Expected.png
          Expected.png
          8 kB
        2. output bug.png
          output bug.png
          26 kB

            dpiper David Piper
            lsanguitam Leonardo Sanguitam (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: