diff --git a/ucl/builtins/strs.go b/ucl/builtins/strs.go index 33eb4e9..a10893d 100644 --- a/ucl/builtins/strs.go +++ b/ucl/builtins/strs.go @@ -41,5 +41,5 @@ func trim(ctx context.Context, args ucl.CallArgs) (any, error) { return nil, err } - return strings.ToLower(s), nil + return strings.TrimSpace(s), nil }