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 2d7a3c8 commit 4732962Copy full SHA for 4732962
src/remark/index.ts
@@ -99,7 +99,7 @@ export default function remarkResistogram(options: { dataDir?: string, files?: a
99
for (let i = nodesToProcess.length - 1; i >= 0; i--) {
100
const { node, index, parent } = nodesToProcess[i];
101
const text = toString(node);
102
- const regex = /%%RESIST\s*([^%]*)%%/g;
+ const regex = /%%RESIST\s*([^%]*)%%/;
103
const match = text.match(regex);
104
105
if (!match || match.index === undefined) continue;
0 commit comments