Changeset 5305 in josm
- Timestamp:
- 2012-06-28T00:43:38+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java
r4886 r5305 67 67 68 68 protected String escape(String s) { 69 return s.replace("\"", "\\\"").replace(" '", "\\'").replace("\n", "\\n");69 return s.replace("\"", "\\\"").replace("\\", "\\\\").replace("\n", "\\n"); 70 70 } 71 71
Note:
See TracChangeset
for help on using the changeset viewer.