Fix line-break insertion code.