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/addons/tests/__snapshots__/AddOnListItem.test.ts.snap b/src/lib/components/addons/tests/__snapshots__/AddOnListItem.test.ts.snap index 2607bfb9c..8f02edca4 100644 --- a/src/lib/components/addons/tests/__snapshots__/AddOnListItem.test.ts.snap +++ b/src/lib/components/addons/tests/__snapshots__/AddOnListItem.test.ts.snap @@ -195,7 +195,9 @@ exports[`AddOnListItem 2`] = `
- This Add-On uses Azure’s Document Intelligence API to OCR documents. The document(s) must be public to be processed. This Add-On uses 1 AI Credit per page. +

+ This Add-On uses Azure’s Document Intelligence API to OCR documents. The document(s) must be public to be processed. This Add-On uses 1 AI Credit per page. +

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 {