Fix bug in insertLines escape sequence.