@nakedcreativity/cee-ms-node 0.3.29 → 0.3.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -228,7 +228,7 @@ function ceems(config) {
228
228
 
229
229
  this.engine.registerFilter('active', (path, match, cssClass) => {
230
230
 
231
- var regex = new RegExp("^"+match)
231
+ var regex = new RegExp("^"+match+"(?!([a-z0-9\-_]+))")
232
232
 
233
233
  if(regex.test(path)){
234
234
  return cssClass
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nakedcreativity/cee-ms-node",
3
- "version": "0.3.29",
3
+ "version": "0.3.31",
4
4
  "description": "Cee.ms for Node.js",
5
5
  "main": "index.js",
6
6
  "scripts": {