Skip to content
Snippets Groups Projects
Commit bb378252 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #1480

parent bb31747a
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ module Importers ...@@ -9,6 +9,7 @@ module Importers
end end
def self.clean_string(string) def self.clean_string(string)
string = string.to_s
string = string.gsub(' ', ' ') string = string.gsub(' ', ' ')
string = string.gsub('&', '&') string = string.gsub('&', '&')
string = ActionView::Base.full_sanitizer.sanitize string string = ActionView::Base.full_sanitizer.sanitize string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment