-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Description
camaleon-cms/app/models/concerns/camaleon_cms/normalize_attrs.rb
Lines 18 to 23 in 67de883
| normalizes(*args, with: lambda { |field| | |
| ActionController::Base.helpers.sanitize( | |
| field.gsub(CamaleonRecord::TRANSLATION_TAG_HIDE_REGEX, CamaleonRecord::TRANSLATION_TAG_HIDE_MAP) | |
| ).gsub(CamaleonRecord::TRANSLATION_TAG_RESTORE_REGEX, CamaleonRecord::TRANSLATION_TAG_RESTORE_MAP) | |
| }) | |
| end |
Expected behavior:
- Can save email_from in the site options per the example, "My Name <myemail@domain.com>"
Current behavior:
- Email address and brackets are scrubbed out, resulting in "My Name "
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels