diff --git a/schema/schema.go b/schema/schema.go index 6f726d9..313bc5f 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -246,10 +246,6 @@ func (rte RequiredTagError) Error() string { } func (v *Validator) ValidateEvent(evt nostr.Event) error { - if !isTrimmed(evt.Content) { - return ContentError{ErrDanglingSpace} - } - if sch, ok := v.Schema.Kinds[strconv.FormatUint(uint64(evt.Kind), 10)]; ok { if validator, ok := v.TypeValidators[sch.Content.Type]; ok { if err := validator(evt.Content, &sch.Content); err != nil {