Changeset 13958 in josm


Ignore:
Timestamp:
2018-06-19T10:10:00+02:00 (6 years ago)
Author:
stoecker
Message:

handle double quotes as if they were single

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.groovy

    r13931 r13958  
    10941094        Map<String,String> res = new HashMap<String, String>()
    10951095        if (e instanceof ImageryInfo) {
    1096           String a = e.getDescription()
    1097           if (a) res.put("en", a)
     1096            String a = e.getDescription()
     1097            if (a) res.put("en", a)
    10981098        } else {
    1099           String a = e.get("properties").getString("description", null)
    1100           if (a) res.put("en", a)
     1099            String a = e.get("properties").getString("description", null)
     1100            if (a) res.put("en", a.replaceAll("''","'"))
    11011101        }
    11021102        return res
Note: See TracChangeset for help on using the changeset viewer.