When i copy&paste multi-line text (from sublime3 or terminal) into Github/gist web inputbox i can see my text properly formatted (for a glimpse of a second). Then gist immediately removes all line breaks and fits everything into one line (see pic below). How can i prevent this?
Arch Linux, Firefox 58.0.2
picture: https://abload.de/img/gistx1rn6.png
Try starting Firefox without any plugin (safe mode), because I just tested several copies from Sublime Text3 to a gist in Firefox (latest version), and I did not reproduce the issue.
My file can use CRLF or LF end-of-line characters, in both cases, the lines are preserved.
For testing, try those Arch Linux commands to put a text in the clipboard, and see if the issue persists when said clipboard is pasted to the Gist.