6 lines
173 B
Ruby
6 lines
173 B
Ruby
module SanitizeWithLinkHelper
|
|
def sanitize_with_link(value)
|
|
tags = Rails.configuration.action_view.sanitized_allowed_tags + ['a']
|
|
sanitize(value, tags:)
|
|
end
|
|
end
|