diff --git a/app/composables/content-parse.ts b/app/composables/content-parse.ts index f73be5ba..385ded04 100644 --- a/app/composables/content-parse.ts +++ b/app/composables/content-parse.ts @@ -67,6 +67,11 @@ const sanitizer = sanitize({ li: { value: keep, }, + // Hollo supports tags + // https://github.com/fedify-dev/hollo/blob/80e7184aa805f579be8712ff9231be655343c661/src/xss.ts#L92-L94 + ruby: {}, + rp: {}, + rt: {}, }) /**