From fe162af1f065fbaa6ffd6e5d85bbfb9b50c1bafc Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Fri, 2 Aug 2024 16:24:18 -0400 Subject: [PATCH] fix: do not coerce table (#1236) --- packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts b/packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts index 74cd3a6d0f..ff1f2c6aeb 100644 --- a/packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts +++ b/packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts @@ -14,7 +14,8 @@ export function rehypeFernComponents(): (tree: Root) => void { } else if (node.name === "iframe") { node.name = "IFrame"; } else if (node.name === "table") { - node.name = "Table"; + // DO NOT coerce into
(see: https://buildwithfern.slack.com/archives/C06QKJWD4VD/p1722602687550179) + // node.name = "Table"; } } });