Workable / orka

8 stars 2 forks source link

[PROD-40813] Allow safeHtml to support no-html rule #378

Closed klesgidis closed 7 months ago

klesgidis commented 7 months ago

Summary

Allows users to define rules like

Joi.safeHtml().allowedTags([]).allowedAttributes({})

which instructs joi to strip all HTML values