Fixed handling of Windows EOLs in the import_storage
This commit is contained in:
parent
16454549fe
commit
5b1778a7f1
|
@ -124,7 +124,7 @@ def sql_insert(table, hash)
|
||||||
else
|
else
|
||||||
raise "Unsupported database option #{OPTIONS[:database]}"
|
raise "Unsupported database option #{OPTIONS[:database]}"
|
||||||
end
|
end
|
||||||
"'#{escaped_value}'"
|
"'#{escaped_value.gsub("\r\n", "\n")}'"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue