grunt-processhtml
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"name": "grunt-processhtml", | ||
"description": "Process html files at build time to modify them depending on the release environment", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "https://github.com/dciccale/grunt-processhtml", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -410,2 +410,3 @@ # grunt-processhtml [![Build Status](https://travis-ci.org/dciccale/grunt-processhtml.png?branch=master)](https://travis-ci.org/dciccale/grunt-processhtml) [![NPM version](https://badge.fury.io/js/grunt-processhtml.png)](http://badge.fury.io/js/grunt-processhtml) | ||
## Release History | ||
- 0.2.3 Fix #8 | ||
- 0.2.2 Small code refactor | ||
@@ -412,0 +413,0 @@ - 0.2.1 Added `templateSettings` option tu customize template delimiters |
@@ -23,3 +23,3 @@ /* | ||
*/ | ||
var regbuild = /<!--\s*build:(\[?\w+\]?)(?::(\w+))?(?:\s*([^\s]+)\s*-->)*/; | ||
var regbuild = /<!--\s*build:(\[?[\w-]+\]?)(?::(\w+))?(?:\s*([^\s]+)\s*-->)*/; | ||
// <!-- /build --> | ||
@@ -40,3 +40,3 @@ var regend = /(?:<!--\s*)*\/build\s*-->/; | ||
inside = true; | ||
attr = build[1].match(/(?:\[(\w+)\])*/)[1]; | ||
attr = build[1].match(/(?:\[([\w-]+)\])*/)[1]; | ||
block = { | ||
@@ -43,0 +43,0 @@ type: attr ? 'attr': build[1], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19868
416