Changeset 3276 in josm


Ignore:
Timestamp:
May 24, 2010 6:29:18 PM (3 years ago)
Author:
stoecker
Message:

fix #4709 - images in help missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/help/HelpContentReader.java

    r3083 r3276  
    122122                    // Also make sure image URLs are absolute 
    123123                    // 
    124                     line = line.replaceAll("<img src=\"/", "<img border=\"0\" src=\"" + baseUrl + "/").replaceAll("href=\"/", 
     124                    line = line.replaceAll("<img ([^>]*)src=\"/", "<img border=\"0\" \\1src=\"" + baseUrl + "/").replaceAll("href=\"/", 
    125125                            "href=\"" + baseUrl + "/").replaceAll(" />", ">"); 
    126126                    sb.append(line); 
Note: See TracChangeset for help on using the changeset viewer.