diff --git a/client/mapeditor.jade b/client/mapeditor.jade index 422c93c..82d179f 100644 --- a/client/mapeditor.jade +++ b/client/mapeditor.jade @@ -45,7 +45,7 @@ html var progressURL = '/api/map/#{map._id}/progressstate'; var shareURL = '/share/map/#{map._id}/'; var map = { - name : "#{map.history[0].name}", + name : !{JSON.stringify(map.history[0].name)}, description : !{JSON.stringify(map.history[0].description)}, userDate: "#{map.history[0].userDate}", serverDate: "#{map.history[0].serverDate}",