Changeset 1046 for trunk/autoquest-jfcmonitor/src
- Timestamp:
- 01/26/13 10:25:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-jfcmonitor/src/main/java/de/ugoe/cs/autoquest/jfcmonitor/JFCComponent.java
r984 r1046 31 31 import javax.accessibility.AccessibleContext; 32 32 33 import org.apache.commons.lang.StringEscapeUtils; 34 33 35 import de.ugoe.cs.util.StringTools; 34 36 … … 291 293 builder.append("<component hash=\""); 292 294 builder.append(Integer.toHexString(component.hashCode()) + "\" >" + StringTools.ENDLINE); 293 builder.append(" <param name=\"title\" value=\"" + title + "\" />" + StringTools.ENDLINE); 295 // title might contain html-Tags (e.g. in ArgoUML) --> must be escaped 296 builder.append(" <param name=\"title\" value=\"" + StringEscapeUtils.escapeXml(title) + "\" />" + StringTools.ENDLINE); 294 297 builder.append(" <param name=\"class\" value=\"" + componentClass + "\" />" + 295 298 StringTools.ENDLINE);
Note: See TracChangeset
for help on using the changeset viewer.