Changeset 7741 in josm for trunk/src


Ignore:
Timestamp:
2014-11-23T21:01:15+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #10774 - fix display of preset entries containing '<' in their translated form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java

    r7725 r7741  
    115115
    116116            final StringBuilder res = new StringBuilder("<b>");
    117             res.append(getDisplayValue(true));
     117            res.append(getDisplayValue(true).replaceAll("<", "&lt;").replaceAll(">", "&gt;"));
    118118            res.append("</b>");
    119119            if (getShortDescription(true) != null) {
Note: See TracChangeset for help on using the changeset viewer.