Commit 9794a90

HPCesia <me@hpcesia.com>
2025-02-12 11:04:59
fix: table class
1 parent dfe9eee
Changed files (1)
src/plugins/rehype-wrap-tables.ts
@@ -9,7 +9,7 @@ export const rehypeWrapTables: RehypePlugin = function () {
         const wrapper = {
           type: 'element',
           tagName: 'div',
-          properties: { className: ['overflow-auto'] },
+          properties: { class: 'overflow-auto' },
           children: [node],
         };
         parent.children[index] = wrapper as ElementContent;