demarches-normaliennes/app/models/champs/textarea_champ.rb

6 lines
150 B
Ruby
Raw Normal View History

2018-02-13 18:18:20 +01:00
class Champs::TextareaChamp < Champs::TextChamp
def for_export
value.present? ? ActionView::Base.full_sanitizer.sanitize(value) : nil
end
2018-02-13 18:18:20 +01:00
end