From 12e2fa110e27655b4d10dfdb013beee253a975ba Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 30 Sep 2024 21:38:55 -0300 Subject: validators: isContentString: accept empty string Evil --- src/data/validators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/validators.js b/src/data/validators.js index 4bdbe5cd..b7dbb629 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -468,7 +468,7 @@ const trimWhitespaceNearEndRegexp = / +$/gm; export function isContentString(content) { - isStringNonEmpty(content); + isString(content); const mainAggregate = openAggregate({ message: `Errors validating content string`, -- cgit 1.3.0-6-gf8a5