Skip to content

Commit

Permalink
35: Escaped map title
Browse files Browse the repository at this point in the history
It was necessary to destringify object rendered by jade.

Task-Url: http://github.com/cdaniel/wardleymapstool/issues/issue/35
  • Loading branch information
cdaniel committed Oct 13, 2015
1 parent bb6e568 commit 70d59dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/mapeditor.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 70d59dc

Please sign in to comment.