Merge branch 'mkirk/remove-overzealous-assert'
This commit is contained in:
commit
8a2f1e3ee3
@ -17,7 +17,6 @@ import Foundation
|
||||
if (self.hasExcessiveDiacriticals(text: text)) {
|
||||
Logger.warn("\(TAG) filtering text for excessive diacriticals.")
|
||||
let filteredText = text.folding(options: .diacriticInsensitive, locale: .current)
|
||||
assert(!self.hasExcessiveDiacriticals(text: filteredText))
|
||||
return filteredText
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user