Fixed #3461: Solve a bug that line doesn’t break with ‘\n’ when line is too short