Commit 6b4069b4 authored by Gerald Oster's avatar Gerald Oster
Browse files

[fix] sanitize multiple room in location field (and add extra space after semicolon)

parent c6c47c6b
......@@ -94,7 +94,9 @@ function merge_events(e, f) {
}
function sanitize_location(location) {
return location.replace('Remicourt_', '');
// return location.replace('Remicourt_', '');
return location.replace(/Remicourt_/g, '').replace(/,/g, ', ');
}
function sanitize_description(description) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment