Skip to content
Permalink
Browse files Browse the repository at this point in the history
escape also the throwable message, see #278
  • Loading branch information
ylafon committed Jun 19, 2020
1 parent 97a4044 commit e5c09a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org/w3c/css/css/StyleSheetParser.java
Expand Up @@ -234,7 +234,7 @@ public void parseURL(ApplContext ac, URL url, String title,
} catch (Exception e) {
Errors er = new Errors();
er.addError(new org.w3c.css.parser.CssError(Messages.escapeString(url.toString()),
-1, e));
-1, new Exception(Messages.escapeString(e.getMessage()))));
notifyErrors(er);
} finally {
if (doneref) {
Expand Down

0 comments on commit e5c09a9

Please sign in to comment.