feat: support Hollo's ruby
related tags (#3350)
This commit is contained in:
parent
d775008a5e
commit
455d967c78
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ const sanitizer = sanitize({
|
||||||
li: {
|
li: {
|
||||||
value: keep,
|
value: keep,
|
||||||
},
|
},
|
||||||
|
// Hollo supports <ruby> tags
|
||||||
|
// https://github.com/fedify-dev/hollo/blob/80e7184aa805f579be8712ff9231be655343c661/src/xss.ts#L92-L94
|
||||||
|
ruby: {},
|
||||||
|
rp: {},
|
||||||
|
rt: {},
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue