feat: support additional html elements (#1102)
This commit is contained in:
parent
10bf774a6b
commit
c280ee389c
4 changed files with 46 additions and 1 deletions
|
@ -35,6 +35,12 @@ const sanitizer = sanitize({
|
|||
code: {
|
||||
class: filterClasses(/^language-\w+$/),
|
||||
},
|
||||
// other elements supported in glitch
|
||||
h1: {},
|
||||
ol: {},
|
||||
ul: {},
|
||||
li: {},
|
||||
em: {},
|
||||
})
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue