commit | 9da2f664d3ea8e7d4788411b15d23fa60fbd1631 | [log] [tgz] |
---|---|---|
author | Ibrahim Yilmaz <iyz@google.com> | Wed May 08 23:06:46 2024 +0000 |
committer | Ibrahim Yilmaz <iyz@google.com> | Thu May 09 15:38:28 2024 +0000 |
tree | 852cd15dd3370c3dd5ec268bd7b731e331d949e2 | |
parent | 6f8c3e613af8eeef2e3123558298748eb22d939e [diff] |
[Text Consistency] Improve consecutive newlines cleaning NewlineNormalizer replaces consecutive newlines with a single newline in the input text. This also catches whitespace characters. Fixes: 337021118 Test: NewlineNormalizerTest Flag: ACONFIG android.app.Flags.clean_up_spans_and_new_lines STAGING Change-Id: Id0d0ec324ba40ce7f1acf9dd9b712f46b8ed1431