Skip to content

Commit

Permalink
cosmetic: eliminate code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Sep 9, 2024
1 parent 3608794 commit e9f8e40
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ String build() {
for (Map.Entry<String, String> attr : this.attrs.entrySet()) {
markup.append(" ").append(attr.getKey());
if (attr.getValue() != null) {
markup.append("=\"");
markup.append(xssApi.encodeForHTMLAttr(attr.getValue()));
markup.append("\"");
markup.append("=\"")
.append(xssApi.encodeForHTMLAttr(attr.getValue()))
.append("\"");
}
}
markup.append(">");
Expand Down

0 comments on commit e9f8e40

Please sign in to comment.