mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-24 23:17:56 +01:00
Fix bug scape ' on title name.
This commit is contained in:
parent
4d8c2aa6cb
commit
6b220ccb81
@ -37,9 +37,9 @@
|
|||||||
var mindmapLocked = ${mindmapLocked};
|
var mindmapLocked = ${mindmapLocked};
|
||||||
var mindmapLockedMsg = '<spring:message code="MINDMAP_LOCKED" arguments="${lockInfo.user.fullName},${lockInfo.user.email}"/>';
|
var mindmapLockedMsg = '<spring:message code="MINDMAP_LOCKED" arguments="${lockInfo.user.fullName},${lockInfo.user.email}"/>';
|
||||||
var userOptions = ${mindmap.properties};
|
var userOptions = ${mindmap.properties};
|
||||||
var accountName = '${principal.fullName}';
|
var accountName = '${fn:replace(principal.fullName,'\'','\\\'')}';
|
||||||
var accountEmail = '${principal.email}';
|
var accountEmail = '${principal.email}';
|
||||||
var mapTitle = '${mindmap.title}';
|
var mapTitle = '${fn:replace(mindmap.title,'\'','\\\'')}';
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user