Skip to content

Commit

Permalink
fix: do not coerce table (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Aug 2, 2024
1 parent 9d26772 commit fe162af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui/app/src/mdx/plugins/rehypeFernComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <table> into <Table> (see: https://buildwithfern.slack.com/archives/C06QKJWD4VD/p1722602687550179)
// node.name = "Table";
}
}
});
Expand Down

0 comments on commit fe162af

Please sign in to comment.