Ignore:
Timestamp:
2009-10-11T21:15:33+02:00 (17 years ago)
Author:
Gubaer
Message:

Improved help browser layout (now uses custom CSS shipped with JOSM)
Help browser now in separate process, not blocked any more when invoked from modal dialogs in JOSM
Added standard browser actions (home, prev, next) etc.
Added help support for conflict resolution

File:
1 edited

Legend:

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

    r2257 r2274  
    127127            }
    128128            if (inside && !transl) {
    129                 b += line.replaceAll("<img src=\"/", "<img src=\"" + baseurl + "/").replaceAll("href=\"/",
     129                // add a border="0" attribute to images, otherwise the internal help browser
     130                // will render a thick  border around images inside an <a> element
     131                //
     132                b += line.replaceAll("<img src=\"/", "<img border=\"0\" src=\"" + baseurl + "/").replaceAll("href=\"/",
    130133                        "href=\"" + baseurl + "/").replaceAll(" />", ">")
    131134                        + "\n";
Note: See TracChangeset for help on using the changeset viewer.