From 2245c6409c37baccc0442a2ff37ac9777530120d Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sun, 15 Oct 2023 18:37:12 +0200 Subject: [PATCH] Fix typo Closes GH-782. --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }) }