Currently, copied and pasted multi-line examples are pasted as one line.
Please make them pasted as they are displayed. You can see how this is done for example when github lets you copy the multi-line code from any project,
This was a bug in Firefox and possibly other browsers, but seems to be fixed now; at least I cannot reproduce it anymore, neither with copying the entire entire cell or copying part of it.
Currently, copied and pasted multi-line examples are pasted as one line.
Please make them pasted as they are displayed. You can see how this is done for example when github lets you copy the multi-line code from any project,