Roman Rizzi df3eb93973
DEV: Sanitize HTML admin inputs (#14681)
* DEV: Sanitize HTML admin inputs

This PR adds on-save HTML sanitization for:

Client site settings
translation overrides
badges descriptions
user fields descriptions

I used Rails's SafeListSanitizer, which [accepts the following HTML tags and attributes](018cf54073/lib/rails/html/sanitizer.rb (L108))

* Make sure that the sanitization logic doesn't corrupt settings with special characters
2021-10-27 11:33:07 -03:00
..
2021-10-27 11:39:28 +03:00
2021-10-27 11:39:28 +03:00
2021-10-27 11:39:28 +03:00
2020-01-15 11:27:12 +01:00
2021-10-27 11:39:28 +03:00
2021-08-10 18:30:34 +04:00
2021-05-31 10:22:50 +08:00
2020-05-05 13:46:57 +10:00
2021-06-21 11:06:58 +08:00
2020-07-21 15:55:03 +08:00
2020-04-30 16:48:53 +10:00