From 455d967c785ccc399e2896b18e2a27b1a496a725 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Wed, 3 Sep 2025 19:56:30 +0900 Subject: [PATCH] feat: support Hollo's `ruby` related tags (#3350) --- app/composables/content-parse.ts | 5 +++++ 1 file changed, 5 insertions(+) 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: {}, }) /**