Module: Rails::HTML::Concern::Serializer::UTF8Encode

Instance Method Summary collapse

Instance Method Details

#serialize(fragment) ⇒ Object



186
187
188
# File 'lib/rails/html/sanitizer.rb', line 186

def serialize(fragment)
  properly_encode(fragment, encoding: "UTF-8")
end