Changeset 16951 in josm for trunk/src


Ignore:
Timestamp:
2020-08-28T22:38:23+02:00 (4 years ago)
Author:
simon04
Message:

fix #19717 - DefaultNameFormatter: add missing U+202C POP DIRECTIONAL FORMATTING

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java

    r16950 r16951  
    213213                name.append(" \u200E(");
    214214                name.append(CoordinateFormatManager.getDefaultFormat().toString(node, ", "));
    215                 name.append(')');
     215                name.append(")\u200C");
    216216            }
    217217        }
     
    306306        }
    307307        decorateNameWithId(name, way);
     308        name.append('\u200C');
    308309
    309310        String result = name.toString();
  • trunk/src/org/openstreetmap/josm/gui/datatransfer/PrimitiveTransferable.java

    r16950 r16951  
    9191            sb.append(OsmPrimitiveType.from(primitive).getAPIName()).append(' ').append(primitive.getId());
    9292        }
    93         return sb.toString().replace("\u200E", "").replace("\u200F", "");
     93        return sb.toString().replace("\u200C", "").replace("\u200E", "").replace("\u200F", "");
    9494    }
    9595}
  • trunk/src/org/openstreetmap/josm/gui/datatransfer/RelationMemberTransferable.java

    r16438 r16951  
    107107              .append('\n');
    108108        }
    109         return sb.toString().replace("\u200E", "").replace("\u200F", "");
     109        return sb.toString().replace("\u200C", "").replace("\u200E", "").replace("\u200F", "");
    110110    }
    111111
Note: See TracChangeset for help on using the changeset viewer.