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

Code macro output content corrupted after partially parsing other code macro content from other page

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Here is the reproduction procedure:

      1. Open (view) a page with already has a code-block
      2. Mark some text and the code-block and copy it. screenshot:selection.png
      3. Create a new page, insert the content from the clipboard (you will notice that the inserted code-block does not look like a code-block). screenshot:output of simple copy.png
      4. Create a new code block in the page and copy the content of the corrupt code-block into the new. screenshot:output of parse in the code macro.png
      5. Delete the corrupt code-block
      6. save the page. screenshot:output after saving the page.png

      I also attach the original source code (original source.png) and corrupted page source code (corrupted source.png) for a review.

      Attachments

        1. corrupted source.png
          corrupted source.png
          26 kB
        2. original source.png
          original source.png
          93 kB
        3. output after saving the page .png
          output after saving the page .png
          41 kB
        4. output of parse in the code macro.png
          output of parse in the code macro.png
          16 kB
        5. output of simple copy.png
          output of simple copy.png
          35 kB
        6. selection.png
          selection.png
          48 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yilinmo Yilin (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: