Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

PIP-971

  • Loading branch information...
commit 244a6721c4f1d3cc511836e4f5af816735aeea3d 1 parent 6ce4a90
Jamie authored
View
1  designer/src/main/webapp/js/Plugins/propertywindow.js
@@ -242,6 +242,7 @@ WAPAMA.Plugins.PropertyWindow = {
value = String(value).gsub("<", "&lt;");
value = String(value).gsub(">", "&gt;");
value = String(value).gsub("\"", "&quot;");
+ value = String(value).gsub("'", "&apos;");
value = String(value).gsub("%", "&#37;");
value = String(value).gsub("&", "&amp;");
View
1  designer/src/main/webapp/js/Plugins/uuidRepository.js
@@ -134,6 +134,7 @@ WAPAMA.Plugins.UUIDRepositorySave = WAPAMA.Plugins.AbstractPlugin.extend({
shape.properties[property] = String(shape.properties[property]).gsub("<", "&lt;");
shape.properties[property] = String(shape.properties[property]).gsub(">", "&gt;");
shape.properties[property] = String(shape.properties[property]).gsub("\"", "&quot;");
+ shape.properties[property] = String(shape.properties[property]).gsub("'", "&apos;");
shape.properties[property] = String(shape.properties[property]).gsub("%", "&#37;");
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.