Merge "[Text Consistency] Improve consecutive newlines cleaning" into main