restore newline on input submit