diff --git a/index.js b/index.js index 8e03553..c43d41a 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ var removeTagEachLIne = function(lines, start, end) { lines[i] = ''; } else if(stops) { - lines[i] = ''; + if(tagSection) { lines[i] = ''; } tagSection = false; } diff --git a/package.json b/package.json index db1f69b..e20ed47 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gulp-htmlhint-inline", "description": "Gulp plugin for linting inline html", - "version": "0.0.2", + "version": "0.0.3", "homepage": "https://github.com/kazu69/gulp-htmlhint-inline", "main": "index.js", "author": {