Allow pre tag in lists
I noticed someone using `<pre>` for styling, and thought, sure why not! I haven't added support for the code block indent thing, and I think that's probably fine?
This commit is contained in:
parent
cc9cd5ef28
commit
315744b4f7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue