Ignore:
Timestamp:
2019-02-24T23:31:36+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #17328 - visible html code in error message

File:
1 edited

Legend:

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

    r14340 r14810  
    335335        String body = e.getErrorBody();
    336336        Object msg = null;
    337         if ("text/html".equals(e.getContentType()) && body != null && body.startsWith("<") && body.contains("<html>")) {
     337        if (e.isHtml() && body != null && body.startsWith("<") && body.contains("<html>")) {
    338338            msg = new HtmlPanel(body);
    339339        } else {
Note: See TracChangeset for help on using the changeset viewer.