Ignore:
Timestamp:
2014-03-06T09:35:10+01:00 (10 years ago)
Author:
stoecker
Message:

see #9778 - fix brain damage

File:
1 edited

Legend:

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

    r6897 r6898  
    114114        String b = "";
    115115        String full = "";
    116         String baseurlus = baseurl.replace("https:","http:");
    117         String baseurlse = baseurlus.replace("http:","https:");
    118116        for (String line = in.readLine(); line != null; line = in.readLine()) {
    119117            full += line;
     
    138136                b += line.replaceAll("<img ", "<img border=\"0\" ")
    139137                         .replaceAll("<span class=\"icon\">.</span>", "")
    140                          .replaceAll("href=\"/", "href=\"" + baseurlus + "/")
    141                          .replaceAll("href=\"/", "href=\"" + baseurlse + "/")
     138                         .replaceAll("href=\"/", "href=\"" + baseurl + "/")
    142139                         .replaceAll(" />", ">")
    143140                         + "\n";
Note: See TracChangeset for help on using the changeset viewer.