diff --git a/lib/util_mustache.js b/lib/util_mustache.js index b046778..b88f3da 100644 --- a/lib/util_mustache.js +++ b/lib/util_mustache.js @@ -13,7 +13,7 @@ // the term "alphanumeric" includes underscores. // todo: document this exact regex long form. -var partialsRE = new RegExp(/{{>\s*?([\w\-\.\/~]+)(?:\:[A-Za-z0-9-_|]+)?(?:(?:| )\(.*)?(?:\s*)?}}/, 'g'); +var partialsRE = new RegExp(/{{>\s*?([\w\-\.\/~]+)(?:\:[A-Za-z0-9-_|]+)?(?:(?:| )\(.*)?(?:\s*)?}}/g); // look for an opening mustache include tag, followed by >=0 whitespaces var partialsWithStyleModifiersStr = '{{>\\s*'; diff --git a/package.json b/package.json index a26f71a..1fd9299 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "patternengine-node-mustache", "description": "The Mustache engine for Pattern Lab / Node", - "version": "1.0.1", + "version": "1.0.2", "main": "lib/engine_mustache.js", "dependencies": { "mustache": "^2.2.0"