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. +