Changeset 997
- Timestamp:
- 11/19/12 15:53:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorOutputWriter.java
r942 r997 271 271 */ 272 272 private void dumpString(String str) { 273 String value = str; 274 value = value.replaceAll("\\\\", "\\\\\\\\"); 275 value = value.replaceAll("\\\"", "\\\\\\\""); 276 value = value.replaceAll("\n", "\\\\n"); 277 273 278 outputWriter.print('"'); 274 outputWriter.print 275 (str.replaceAll("\\\\", "\\\\").replaceAll("\\\"", "\\\"").replaceAll("\n", " ")); 279 outputWriter.print(value); 276 280 outputWriter.print('"'); 277 281 }
Note: See TracChangeset
for help on using the changeset viewer.