Changeset 11265 in osm


Ignore:
Timestamp:
2008-10-15T19:00:27+02:00 (16 years ago)
Author:
hampelratte
Message:

fixed html rendering bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java

    r11161 r11265  
    140140                                        StringBuilder sb = new StringBuilder("<html>");
    141141                                        //sb.append(desc.replaceAll("\\|", "<br>"));
    142                                         sb.append(desc);
     142                                        sb.append(desc.replaceAll("<hr />", "<hr>"));
    143143                                        sb.append("</html>");
    144144                                        desc = sb.toString();
     
    147147                                        int tooltipWidth = 0;
    148148                                        Rectangle2D fontBounds = null;
    149                                         String[] lines = desc.split("<hr />");
     149                                        String[] lines = desc.split("<hr>");
    150150                                        for (int i = 0; i < lines.length; i++) {
    151151                                                String line = lines[i];
Note: See TracChangeset for help on using the changeset viewer.