Skip to content

Copy paste in code block adds \ at the end of each line #2386

Description

@virgile-dev

Bug Report

Problematic behavior
Copy paste in code block adds \ at the end of each line. As a user I have to delete them by hand.

Expected behavior/code
\ shouldn't be added.

Steps to Reproduce
See vidéo screen capture

copypastecode.webm

Environment

  • Docs version: 5.1
  • Instance url: docs.numerique.gouv.fr

Possible Solution

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions