Using Code Blocks in the Comments or Description of a Jira Issue adds a whitespace character at the end of each line except for the last one when it is highlighted, copied, then paste into a code editor.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • Component/s: Editor - Cloud
    • None
    • 1
    • Minor

      Issue Summary

      When using Code Blocks, entering code that lacks any whitespace at the end of each line will result in a whitespace character being at the end when highlighted, such as for copying.

      Steps to Reproduce

      1. Add a Code Snippet Block to a Description, or comment.
      2. Enter lines of text that lack whitespace at the end of each line.
      3. Highlight the text to copy it.
      4. Paste that into a Code Editor.

      Expected Results

      The whitespace is not represented in the copied content.

      Actual Results

      The whitespace is represented in the copied content.
      i.e. new information was added that wasn't there before.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Payden Pringle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: