Browse files

PIP-971

  • Loading branch information...
1 parent 6ce4a90 commit 244a6721c4f1d3cc511836e4f5af816735aeea3d Jamie committed Aug 10, 2011
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;");
}
});

0 comments on commit 244a672

Please sign in to comment.