Using the Copy button a code block and pasting code outside of anytype surrounds text in backticks (```)

WHAT IS THE BUG

Every time I copy from a code block (using the copy button) and paste it somewhere else, the code I copied becomes surrounded in triple backticks (like: ```sudo my code ` ``). When I select the text manually and paste it somewhere else it does not get surrounded in backticks.

This only started happening a couple days ago; I hadn’t had this issue previously. I understand ``` is how markdown processes code snippets but this is a new occurrence.

HOW TO REPRODUCE IT

e.g.

  1. Select the Copy button on a code block
  2. Paste text outside of Anytype

THE EXPECTED BEHAVIOR

The text will be surrounded in three backticks

ADDITIONAL CONTEXT

SYSTEM INFORMATION

This occurs on both Mac and Linux apps (I haven’t tested on Windows)

+1, confirmed.

Confirmed here as well.

Confirmed here too. (0.35.2 stable)

This report has been added to our issue tracker and received by the Development Team.

Still in Version: 0.35.27-beta

still on version 0.36.0 on Mac