Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-66027

Highlighting within a word reverts to wiki markup in the Rich Text Editor

      Summary

      When applying a "non-macro" character formatting applied to a portion of a word: bold, italic, underline, strikethrough, subscript, superscript, monospace in Visual mode, the text formatting looks as if it works but upon saving the comment or clicking on the Visual tab again, the formatting is not saved and the wiki markup will be displayed instead.

      Steps to Reproduce

      1. Go to any JIRA Issue
      2. In visual mode, try typing in for example:
        *Bold*face
        +Under+line
        -Strike-Through
        {color:#d04437}Color{color}ized

      Expected Results

      The parts of the word that has the text formatting applied to them will be correctly rendered.

      Actual Results

      When the text is saved, it will be displayed like this:

      *Bold*face
      +Under+line
      -Strike-Through
      Colorized

       

      Notes

      • As we can see from the example above, only the color formatting is working.
      • If you type "Boldface" in visual mode manually and apply the text formatting via the UI buttons (eg. clicking on the B button) or keyboard shortcuts (eg. Ctrl+B) it will appear correctly in the visual mode but upon saving the results are the same.

          Form Name

            [JRASERVER-66027] Highlighting within a word reverts to wiki markup in the Rich Text Editor

            T H added a comment -

            My expectation would be, that wiki markup is not rendered in Visual mode. If I will use markup, I'll switch to Text mode

            Reason:
            I want to copy a directory listing from linux into a JIRA ticket. The listing will contain several "-" signs. For example

            -rw-r--r-- 1 jira jira      18 Dec  7  2016 filename

            When you do so, the line is shown as inserted while viewing it in Visual or Text mode. That's IMHO the way it should work.

            But as soon as you save the field, the "-" signs are interpreted and the output is broken like in the following example:
            rw-rr- 1 jira jira      18 Dec  7  2016 filename

            T H added a comment - My expectation would be, that wiki markup is not rendered in Visual mode. If I will use markup, I'll switch to Text mode Reason: I want to copy a directory listing from linux into a JIRA ticket. The listing will contain several "-" signs. For example -rw-r--r-- 1 jira jira      18 Dec  7  2016 filename When you do so, the line is shown as inserted while viewing it in Visual or Text mode. That's IMHO the way it should work. But as soon as you save the field, the "-" signs are interpreted and the output is broken like in the following example: rw-r r - 1 jira jira      18 Dec  7  2016 filename

              cf7069360d7e Mateusz Witkowski
              lsaw@atlassian.com Leon (Inactive)
              Affected customers:
              9 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: