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

Round-tripping between RTE and Wiki Markup will break bullets formating inside some macros such as {panel}, {quote}, {note}, etc if heading is preceeding the macros

    XMLWordPrintable

Details

    Description

      Description

      When round-tripping between Rich Text Editor and Wiki Markup in a page that contains macros which has body as headings, the formatting of bullets inside the macro breaks. Please check the next section for more information

      Steps to Reproduce
      1. Copy the wiki markup below and paste to a Wiki Markup editor, then switch between Rich Text Editor and Wiki Markup.
        h1. {panel}
        * bullet 1
        * bullet 2
        {panel}
        

        bug_1.jpg

      2. This is how it suppose to look like in Preview:
        bug_2.jpg
      3. Switch to Rich Text Editor and back to Wiki Markup mode, this is how it will look:
        bug_3.jpg
      4. Switch to Rich Text Editor and back to Wiki Markup mode again, a backslash is added to the bullet:
        bug_4.jpg
      5. This is how it suppose to look like in Preview mode:
        bug_5.jpg


      Findings

      This bug also affects the following macros:

      • {panel}
      • {section}
      • {column}
      • {note}
      • {info}
      • {tip}
      • {warning}
      Workaround

      Just write the macro in a newline, example below:

      h1.
      {panel}
      * bullet 1
      * bullet 2
      {panel}
      

      Attachments

        1. bug_3.jpg
          187 kB
          HengHwa Loi [Atlassian]
        2. bug_2.jpg
          161 kB
          HengHwa Loi [Atlassian]
        3. bug_1.jpg
          187 kB
          HengHwa Loi [Atlassian]
        4. bug_5.jpg
          160 kB
          HengHwa Loi [Atlassian]
        5. bug_4.jpg
          187 kB
          HengHwa Loi [Atlassian]

        Issue Links

          Activity

            People

              smansour Sherif Mansour
              hhloi HengHwa Loi [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: