Pasting Codes from Code Block Macro into a Text Editor Creates Additional Lines

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Low
    • None
    • Affects Version/s: 6.4.2, 6.4.3
    • Component/s: Macros - Other Macros
    • 2
    • Severity 3 - Minor

      When multiple lines of codes from Code Block Macro are copied and pasted into a text editor, additional line breaks are added.

      Steps To Reproduce

      1. Create a new page.
      2. Add Code Block Macro with a few lines of codes, e.g.:
        public static void main(String[] args)
        {
          System.out.println("Hello World!");
        }
        
      1. Save the page.
      2. Highlight the code and press Ctrl+C to copy code selection to clipboard.
      3. Press Ctrl+V to paste the clipboard contents into the Text Editor/Notepad++.
      Actual Behavior

      The code copied to text editor

       

      Workaround

      user can opt to another browsers(Microsoft Edge, Chrome, Firefox) as a workaround, as this issue only occurs in IE 11.

        1. screenshot-1.png
          22 kB
          Zulfarhan Zakaria

            Assignee:
            Unassigned
            Reporter:
            Zulfarhan Zakaria (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: