I’ve noticed some very strange behaviour when copying/pasting code snippets from a book I’m following. All the code is pasted twice, with trailing characters here and there. Allow me to demonstrate:
Ordinarily-formatted text (from both the same book and others) doesn’t trigger the issue and code snippets from other books work fine. Chrome also pastes correctly. What could be the problem?