Changeset 19357 in josm for trunk/test


Ignore:
Timestamp:
2025-03-23T00:05:43+01:00 (4 days ago)
Author:
stoecker
Message:

replace HTML encoding in output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/routines/DomainValidatorTestIT.java

    r19355 r19357  
    124124                    if (info != null) {
    125125                        String type = info[0];
    126                         String comment = info[1];
     126                        String comment = info[1].replaceAll(""","\"").replaceAll("'","'").replaceAll("&","&");
    127127                        if ("country-code".equals(type)) { // Which list to use?
    128128                            allCC.put(asciiTld, unicodeTld + " " + comment);
Note: See TracChangeset for help on using the changeset viewer.