welp, yeah, your code contains non breaking spaces: if you replace them by (i.e. type in) tabs or regular spaces, it pastes just fine.
It's probably the weirdness of the source where you copied the code from i.e. not Joplin's bug
welp, yeah, your code contains non breaking spaces: if you replace them by (i.e. type in) tabs or regular spaces, it pastes just fine.
It's probably the weirdness of the source where you copied the code from i.e. not Joplin's bug