diff --git a/changelog.md b/changelog.md index 02e13fe..aadd70d 100644 --- a/changelog.md +++ b/changelog.md @@ -75,7 +75,7 @@ function rehypePluginAddingIndex() { return function (tree) { visit(tree, function (node, index) { if (node.type === 'element' && typeof index === 'number') { - node.properties === index + node.properties.index = index } }) }