From 1c5110b7352f8a7e7b39aa22080a5e5b08ff8cb7 Mon Sep 17 00:00:00 2001 From: Yifei Gao Date: Mon, 8 Jan 2024 00:51:30 +0800 Subject: [PATCH] Revert "Fix rich text in `h4`" --- src/handlers/callout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/callout.js b/src/handlers/callout.js index 79a62a5..bf5526a 100644 --- a/src/handlers/callout.js +++ b/src/handlers/callout.js @@ -56,7 +56,7 @@ function transformCallout(block) { // Heading 4 case '4️⃣': - return h('h4', block.callout.rich_text.map(transformRichText)); + return h('h4', plainTextTitle); default: console.warn('missing handler for callout:', block.callout.icon.emoji);