We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be27e21 commit 476bad0Copy full SHA for 476bad0
src/index.js
@@ -166,8 +166,6 @@ let processCounter = 0;
166
* @return {Object} PostHTML tree
167
*/
168
function processTree(options) {
169
- const filledSlots = {};
170
-
171
return (tree, messages) => {
172
log(`Processing tree number ${processCounter}..`, 'processTree');
173
@@ -176,6 +174,8 @@ function processTree(options) {
176
174
}
177
175
178
match.call(tree, options.matcher, currentNode => {
+ const filledSlots = {};
+
179
log(`Match found for tag "${currentNode.tag}"..`, 'processTree');
180
181
if (!currentNode.attrs) {
0 commit comments