Skip to content

Commit

Permalink
Wider tip of the day, allow p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Dec 3, 2024
1 parent d5980d5 commit c752435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const CSRF_HEADER_NAME = "X-CSRFToken";

export const POLL_INTERVAL = 5000;

export const ALLOWED_TAGS = ["a", "strong", "em", "b", "i"];
export const ALLOWED_TAGS = ["a", "strong", "em", "b", "i", "code", "p"];
export const ALLOWED_ATTR = ["href"];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/common/TipOfDay.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
.message {
flex: 1 1 auto;
line-height: 1.5;
max-width: 48rem;
max-width: 80rem;
padding: 0 1.5rem;
}
.close {
Expand Down

0 comments on commit c752435

Please sign in to comment.