feat: support additional html elements (#1102)

This commit is contained in:
Daniel Roe 2023-01-14 10:40:53 +00:00 committed by GitHub
parent 10bf774a6b
commit c280ee389c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 1 deletions

View file

@ -35,6 +35,12 @@ const sanitizer = sanitize({
code: {
class: filterClasses(/^language-\w+$/),
},
// other elements supported in glitch
h1: {},
ol: {},
ul: {},
li: {},
em: {},
})
/**