diff --git a/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp b/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp index 8d3182b7..e56e97b2 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapEditor.jsp @@ -37,9 +37,9 @@ var mindmapLocked = ${mindmapLocked}; var mindmapLockedMsg = ''; var userOptions = ${mindmap.properties}; - var accountName = '${principal.fullName}'; + var accountName = '${fn:replace(principal.fullName,'\'','\\\'')}'; var accountEmail = '${principal.email}'; - var mapTitle = '${mindmap.title}'; + var mapTitle = '${fn:replace(mindmap.title,'\'','\\\'')}';