Skip to content

Commit

Permalink
fix div cannot be descendant p
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed Nov 23, 2019
1 parent ed135ff commit ff834a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/plugins/remark-npm2yarn.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const transformNode = node => {
value: '</TabItem>\n</Tabs>',
},
];
node.type = 'paragraph';
node.type = 'element';
delete node.lang;
delete node.meta;
delete node.value;
Expand Down

0 comments on commit ff834a5

Please sign in to comment.