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

superscripts starting with a hyphen not working when saved in Rich Text formatting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 2.8.2, 2.9
    • None

      Saving a superscript starting with a hyphen in Rich text editor will break. For example:

      10{^}-6
      

      The wiki markup above should translate into a mathematical notation 10-6 when the text is saved using the wiki mark up editor.

      But when we edit the page using the Rich Text editor, after clicking on the Save button or Preview tab it will be rendered as 10^-6^ as the carets surrounding the '^' character are removed.

      The wiki markup will be transformed into:

      10^\-6^
      

      As a work around, one can add a space character before the superscript prior to saving the affected page with Rich text editor.

            Unassigned Unassigned
            rhartono Roy Hartono [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: