diff --git a/src/app/components/MarkdownAndSafeHTML.js b/src/app/components/MarkdownAndSafeHTML.js index 1093922..78d8ea1 100644 --- a/src/app/components/MarkdownAndSafeHTML.js +++ b/src/app/components/MarkdownAndSafeHTML.js @@ -59,6 +59,7 @@ function MarkdownAndSafeHTML({ children, onBeforeSanitizeNode }) { "ol", "ul", "li", + "pre", ], ALLOWED_ATTR: ["href", "class"], // URL must either start with an approved host (external link), or with a