From 83e9aaa277147b074bdf1fd8d33a99f468e3911a Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Tue, 19 Nov 2024 16:40:22 +0100 Subject: [PATCH] fix: do not unwrapp `code` --- src/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 75f3227..6430c27 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -4,5 +4,6 @@ export const NON_UNWRAPPABLE_TYPES = [ 'containerComponent', 'leafComponent', 'table', - 'pre' + 'pre', + 'code' ]