From 147a5abca655b32e28c3e9f8dabc0c135c3ca6de Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Mon, 10 Feb 2025 14:36:19 -0500 Subject: [PATCH 1/2] Improve HTML field validation (CFM-390) --- app/resources/locales/en_US/error.po | 2 +- app/resources/locales/en_US/information.po | 3 +++ app/src/Lib/Traits/ValidationTrait.php | 27 ++++++---------------- app/templates/MessageTemplates/fields.inc | 24 +++++++++++++++++-- 4 files changed, 33 insertions(+), 23 deletions(-) diff --git a/app/resources/locales/en_US/error.po b/app/resources/locales/en_US/error.po index 0e2a2482..8ec78882 100644 --- a/app/resources/locales/en_US/error.po +++ b/app/resources/locales/en_US/error.po @@ -197,7 +197,7 @@ msgid "input.invalid.email" msgstr "The provided value is not a valid email address" msgid "input.invalid.html" -msgstr "HTML should be well-formed, and non-standard attributes,