Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-135449

Copy & paste into book and quill displays CR on each line

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When I copy & paste a text from anywhere (notepad, webpage, word, etc...) from windows into a book and quill, a carriage return control character is added at the end of each line.

      I suppose it's because the new line char on Windows is "\r\n" (CR-LF), the CR char is displayed but it should not.

      It's possible to avoid this problem using an advanced Text Editor that allow to choose the new-line char, using the linux mode (\n) there are no problem. Using the Mac mode (\r only), there are not new line, all text is collapsed with the CR char as separator. (See screenshots)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Tronics Tronics
            • Votes:
              17 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: