diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/action_text/content_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/action_text/tag_helper.rb | 2 | ||||
-rw-r--r-- | app/models/action_text/rich_text.rb | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/action_text/content_helper.rb b/app/helpers/action_text/content_helper.rb index 99255494b1..b3335601f9 100644 --- a/app/helpers/action_text/content_helper.rb +++ b/app/helpers/action_text/content_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActionText module ContentHelper SANITIZER = Rails::Html::Sanitizer.white_list_sanitizer diff --git a/app/helpers/action_text/tag_helper.rb b/app/helpers/action_text/tag_helper.rb index 8d1ff0aaad..103b65eb97 100644 --- a/app/helpers/action_text/tag_helper.rb +++ b/app/helpers/action_text/tag_helper.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module ActionText module TagHelper cattr_accessor(:id, instance_accessor: false) { 0 } diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb index 3cedef4d5f..1f8ac0e7f7 100644 --- a/app/models/action_text/rich_text.rb +++ b/app/models/action_text/rich_text.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + # The RichText record holds the content produced by the Trix editor in a serialized `body` attribute. # It also holds all the references to the embedded files, which are stored using Active Storage. # This record is then associated with the Active Record model the application desires to have |