Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy button adds "Copy code" at the end of every copied block #1461

Closed
AlbertMitjans opened this issue Aug 15, 2023 · 1 comment · Fixed by #1465
Closed

Copy button adds "Copy code" at the end of every copied block #1461

AlbertMitjans opened this issue Aug 15, 2023 · 1 comment · Fixed by #1465
Assignees
Labels
bug Something isn't working

Comments

@AlbertMitjans
Copy link

When clicking the copy button of a code block, "Copy code" gets added at the end of the copied text.

If I have:

.. code-block:: console

    $ cd helloworld

I get:
image

When clicking the copy button and pasting it here, it prints:

$ cd helloworld
Copy code
@kai687
Copy link
Owner

kai687 commented Aug 16, 2023

Wow. Thanks for reporting this. I'll fix it.

@kai687 kai687 self-assigned this Aug 16, 2023
@kai687 kai687 added the bug Something isn't working label Aug 16, 2023
@kai687 kai687 linked a pull request Aug 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants