Copy and paste whithin RMarkdown documents in teh visual mode does not work properly

I used to copy and paste code from one RMarkdown document to another in the visual mode. Chunks of code were pasted as they were copied.
After version 2023.06.1 (and happening as well in new version 2023.09.0) when I paste a copied chunk all line breaks whithin the chunk dissappear, resulting in a continous text that is no longer working. I have to go through the chunk restoring all line breaks that have been erased. Is this a bug of the new RStudio version or is there an option whithin RStudio I should enable/disable?

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.