summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2024-05-08 23:06:46 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2024-05-09 15:38:28 +0000
commit9da2f664d3ea8e7d4788411b15d23fa60fbd1631 (patch)
tree852cd15dd3370c3dd5ec268bd7b731e331d949e2 /api/api.go
parent6f8c3e613af8eeef2e3123558298748eb22d939e (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