Upgrade dependencies

This commit is contained in:
2021-01-17 19:11:37 +01:00
parent 6602c7e912
commit 8107aca0a8
108 changed files with 22467 additions and 2423 deletions

View File

@ -765,7 +765,7 @@ func unescape(s string) (ch string, tail string, err error) {
if i > utf8.MaxRune {
return "", "", fmt.Errorf(`\%c%s is not a valid Unicode code point`, r, ss)
}
return string(i), s, nil
return string(rune(i)), s, nil
}
return "", "", fmt.Errorf(`unknown escape \%c`, r)
}