diff --git a/src/config/config.js b/src/config/config.js index 1917e7504..b0481fd53 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -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"]; /** diff --git a/src/lib/components/common/TipOfDay.svelte b/src/lib/components/common/TipOfDay.svelte index 9437524d1..db85e698b 100644 --- a/src/lib/components/common/TipOfDay.svelte +++ b/src/lib/components/common/TipOfDay.svelte @@ -63,7 +63,7 @@ .message { flex: 1 1 auto; line-height: 1.5; - max-width: 48rem; + max-width: 80rem; padding: 0 1.5rem; } .close {