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

In IE8/IE9, when copying from a code macro in display mode into a code macro in edit mode, line breaks are missing

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create a code macro containing this:
        line 1
        
        line 2
        
        line 3
        
        line 4
        
      2. Save the page and see the macro display correctly (codemacro1.png)
      3. In Display mode, copy the contents of the code macro
      4. Edit the page
      5. Enter a new code block
      6. Paste the contents in to the code block, notice that the empty lines are missing (codemacro2.png)
      7. Save the page (without making any more changes), and notice that the empty lines are there as expected, despite not showing in Edit mode (codemacro3.png)

      Workaround

      You can simply save the content and the lines will appear correctly. The issue only exists in the Edit mode and does not affect the saved content.

      Updates:

      The same issue can be reproduced in IE9, but not reproduced on IE10 and IE11.

      Attachments

        1. codemacro1.png
          codemacro1.png
          5 kB
        2. codemacro2.png
          codemacro2.png
          16 kB
        3. codemacro3.png
          codemacro3.png
          8 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: