Skip to content

Commit

Permalink
Allow HTML in Message Template (CFM-390) (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Feb 3, 2025
1 parent 3970cf6 commit 9e1f063
Show file tree
Hide file tree
Showing 34 changed files with 3,012 additions and 107 deletions.
3 changes: 2 additions & 1 deletion app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"doctrine/dbal": "^3.3",
"league/container": "^4.2.0",
"mobiledetect/mobiledetectlib": "^2.8",
"psr/log": "^2.0"
"psr/log": "^2.0",
"symfony/html-sanitizer": "^7.2"
},
"require-dev": {
"cakephp/bake": "^2.6",
Expand Down
316 changes: 313 additions & 3 deletions app/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions app/resources/locales/en_US/error.po
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,15 @@ msgstr "When this value is selected, {0} cannot be empty"
msgid "input.invalid"
msgstr "Invalid character found"

msgid "input.invalid.brackets"
msgstr "Invalid character found. Angle brackets ('<>') are disallowed."

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, <script>, and <style> tags are not allowed."

msgid "input.invalid.prefix"
msgstr "The provided value is not valid. \"{0}\" prefix is required"

Expand Down
Loading

0 comments on commit 9e1f063

Please sign in to comment.