Thank you, @Don. Empty line is inserted between every lines when I paste text into editor - #3 by Don and Empty line is inserted between every lines when I paste text into editor - #5 by Canapin are useful workarounds. However, considering that solely Discourse appears to suffer from this problem, Discourse must be partially at fault in how it interprets this data.