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

Instance Method Summary collapse

Instance Method Details

#serialize(fragment) ⇒ Object



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

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