Fix double newlines on alt-enter