Skip to content

Commit

Permalink
✏️ fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed Aug 31, 2024
1 parent ffaa4e7 commit 22a84d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/swiss/fihlon/apus/ui/view/PostView.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ private Component createAvatarComponent(@NotNull final Post post) {
@NotNull
private Component createTextComponent(@NotNull final Post post) {
final String unsafeHtml = post.html();
final String saveHtml = HtmlUtil.sanitize(unsafeHtml);
return new Html(String.format("<div class=\"content\">%s</div>", saveHtml));
final String safeHtml = HtmlUtil.sanitize(unsafeHtml);
return new Html(String.format("<div class=\"content\">%s</div>", safeHtml));
}

@NotNull
Expand Down

0 comments on commit 22a84d8

Please sign in to comment.