Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Closes GH-782.
  • Loading branch information
wooorm committed Oct 15, 2023
1 parent bc09364 commit 2245c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
}
Expand Down

0 comments on commit 2245c64

Please sign in to comment.