Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 76f6d0c

Browse files
Allow text alignment SORMAS-Foundation#3193
1 parent 25a2653 commit 76f6d0c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/action/ActionListEntry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public ActionListEntry(ActionDto action) {
8383
Whitelist whitelist = Whitelist.relaxed();
8484
whitelist.addTags("hr", "font");
8585
whitelist.addAttributes("font", "size", "face", "color");
86+
whitelist.addAttributes("div", "align");
8687
Label description = new Label(Jsoup.clean(action.getDescription(), whitelist), ContentMode.HTML);
8788
description.setWidth(100, Unit.PERCENTAGE);
8889
descReplyLayout.addComponent(description);

0 commit comments

Comments
 (0)