Skip to content

Copy/Paste ommitting newlines (again) #19331

@silverwind

Description

@silverwind

STR:

  1. Open https://try.gitea.io/silverwind/symlink-test/src/branch/master/.drone.yml
  2. Select the first 5 lines of code
  3. Copy the code to clipboard
  4. Paste it somewhere
  5. Observe that empty line 4 is not copied

I recall a6168fa, which ought to have fixed this but it must have regressed recently and 1.16 is also affected. I do not see a literal newline in the HTML on these empty lines anymore while there should be one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a changetype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions