diff --git a/src/nodescripts/tokenreplace.js b/src/nodescripts/tokenreplace.js index befe99bc..2dbe403a 100644 --- a/src/nodescripts/tokenreplace.js +++ b/src/nodescripts/tokenreplace.js @@ -142,7 +142,7 @@ function replaceonetoken (data, targetlang, files) { , 'g')]; // add token with literal square brackets const to = data[targetlang] - .replace(/<\/\s*/g, '" => "" + .replace(/<\s*\/\s*/g, '" => "" // replace this token, add the number of matches to the list replace.sync({ files, from, to, countMatches: true })