Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soyutils: Fix invalid comparison of char (string) with numbers
The code in truncate that avoids truncating in the middle of a surrogate pair was just plain broken. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=131167671
- Loading branch information
1 parent
7a1cb41
commit 5b1e01c
Showing
2 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.