Ignore:
Timestamp:
2015-10-23T14:50:40+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #11262 - Images not displayed correctly in Help Browser

File:
1 edited

Legend:

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

    r8928 r8933  
    14111411     */
    14121412    public static boolean hasExtension(String filename, String... extensions) {
    1413         String name = filename.toLowerCase(Locale.ENGLISH);
     1413        String name = filename.toLowerCase(Locale.ENGLISH).replace("?format=raw", "");
    14141414        for (String ext : extensions) {
    14151415            if (name.endsWith('.' + ext.toLowerCase(Locale.ENGLISH)))
Note: See TracChangeset for help on using the changeset viewer.