diff options
| author | 2024-05-08 23:06:46 +0000 | |
|---|---|---|
| committer | 2024-05-09 15:38:28 +0000 | |
| commit | 9da2f664d3ea8e7d4788411b15d23fa60fbd1631 (patch) | |
| tree | 852cd15dd3370c3dd5ec268bd7b731e331d949e2 /api/api.go | |
| 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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions