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

Losing Line Break And Indentation When Copying from Code Macro Display Mode In IE9 to Text Editor Like WordPad and Notepad

    XMLWordPrintable

Details

    Description

      When copying the content of Code Block Macro from Confluence out to the Text Editor (WordPad, Notepad), it will lose the line break and indentation that's applied in Code Block Macro.

      Steps to reproduce

      1. Create a code macro containing this:
        PROCEDURE sendMail
                ( pRecipient VARCHAR2
                , pSubject   VARCHAR2
                , pMessage   VARCHAR2 );
        
      2. Save the page
      3. Copy the contents of Code Block Macro
      4. Paste it in WordPad:

        PROCEDURE sendMail
        ( pRecipient VARCHAR2
        , pSubject VARCHAR2
        , pMessage VARCHAR2 );

      5. Paste it in Notepad:

        PROCEDURE sendMail ( pRecipient VARCHAR2 , pSubject VARCHAR2 , pMessage VARCHAR2 );

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prompas Patrice Rompas (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: