Ignore:
Timestamp:
2018-01-14T01:04:51+01:00 (2 years ago)
Author:
Don-vip
Message:

fix #15755 - Unprocessed HTML in search error box

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java

    r12666 r13317  
    201201                            return new TimestampRange(minDate, maxDate);
    202202                        } else {
    203                             throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<i>min</i>/<i>max</i>", "<i>timestamp</i>"));
     203                            throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<i>min</i>/<i>max</i>", "<i>timestamp</i>")
     204                                + "</html>");
    204205                        }
    205206                    }
    206207                } else {
    207                     throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<code>:</code>", "<i>" + keyword + "</i>"));
     208                    throw new SearchParseError("<html>" + tr("Expecting {0} after {1}", "<code>:</code>", "<i>" + keyword + "</i>") + "</html>");
    208209                }
    209210            }
Note: See TracChangeset for help on using the changeset viewer.