Changeset 16049 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-03-06T23:53:35+01:00 (5 years ago)
Author:
simon04
Message:

see #18864 - I18n.format: fix strings containing apostrophe U+0027

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/I18n.java

    r16044 r16049  
    157157
    158158    private static String format(String text, Object... objects) {
    159         if (objects.length == 0) {
     159        if (objects.length == 0 && !text.contains("'")) {
    160160            return text;
    161161        }
Note: See TracChangeset for help on using the changeset viewer.