Replacing \n with empty string may be less error prone
Replacing \n with empty string may be less error prone

I'm using this snippet for creating SQL queries (I understand the security issues, and it's ok in my case).
For the SQL use case, concatenating multiple lines can generate invalid statements like `select *from mytable`
I can also imagine a case with html where this can lead to problems like `<inputtype="text">`
So it's probably better to assume that some kind of empty space is needed.
krasimir/absurd,lguzzon/absurd,krasimir/absurd,lguzzon/absurd,krasimir/absurd,lguzzon/absurd