Skip to content

Commit c7f8170

Browse files
chore(build): Rebuild plugin [skip ci]
1 parent dd18100 commit c7f8170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/remark/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function remarkResistogram(options) {
119119
for (let i = nodesToProcess.length - 1; i >= 0; i--) {
120120
const { node: node2, index, parent } = nodesToProcess[i];
121121
const text = toString(node2);
122-
const regex = /%%RESIST\s*([^%]*)%%/g;
122+
const regex = /%%RESIST\s*([^%]*)%%/;
123123
const match = text.match(regex);
124124
if (!match || match.index === void 0) continue;
125125
const beforeText = text.slice(0, match.index).trim();

0 commit comments

Comments
 (0)