Skip to content

[Bug]: Inconsistent End-of-Line characters #893

Description

@hmhackmaster

Describe the bug

When copying from a "Note", only a LF (\n or 0A) is used for line endings. This can cause problems with some (Windows) use cases.

Copying from "Code" results in a CRLF (\r\n or 0D 0A) which is the expected result (on Windows, at least).

To reproduce

  1. Select text in a "Note" that spans multiple lines
  2. Paste into a destination on Windows that does not automatically add compatibility for non-Windows End-of-Line characters
Image

Expected results:

Image

App Version and Architecture

5.9.1

System info

Windows 11 Enterprise
Using NirSoft's InsideClipboard tool to display the Hex and ASCII contents of the clipboard's `CF_TEXT` format (`CF_UNICODETEXT` behaves the same)

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions