Handle multiline corrections