diff --git a/AlgebraicDataflowArchitectureModel/src/simulator/interfaces/html/HtmlElement.java b/AlgebraicDataflowArchitectureModel/src/simulator/interfaces/html/HtmlElement.java index 2d34a76..9fc2dff 100644 --- a/AlgebraicDataflowArchitectureModel/src/simulator/interfaces/html/HtmlElement.java +++ b/AlgebraicDataflowArchitectureModel/src/simulator/interfaces/html/HtmlElement.java @@ -30,9 +30,9 @@ public MapTerm toMap() { MapTerm res = new MapTerm(); - res.insert("\"type\"", new Constant(type)); + res.insert("\"type\"", new Constant("\"" + type + "\"")); res.insert("\"id\"", new Constant(id)); - res.insert("\"text\"", new Constant("\"" + text + "\"")); + res.insert("\"text\"", new Constant(text)); MapTerm stylesMap = new MapTerm(); for(String prop : styles.keySet()) { stylesMap.insert(prop, new Constant(styles.get(prop)));