Fix handling of newlines in textarea input

This fixes issue https://github.com/vitalets/x-editable/issues/48