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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2
    • Minecraft 19w13b
    • Confirmed
    • (Unassigned)

    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

            Unassigned Unassigned
            Tronics Tronics
            Votes:
            29 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: