cscott/jsshaper — comment on commit ae82d374fe35787bca48678e952cd0a398e6dd23
File:  line 0
By olov:

Right, newline insertion is tricky to get right. This is something that we want to continue improving going forward. I believe that you're right that when the delimiter is a newline, inserting it always is the right thing to do. So I am ok with merging code that special-cases this as long as non-newline delimiters works as before. It's a bit of a hack but will do for now until we've figured out something better.