Skip to content

Commit 35974f5

Browse files
committed
Merge pull request #3 from kazu69/fixed_bug_only_match_ending_tag
Fixed bug only match ending tag
2 parents 22bd139 + 539ab71 commit 35974f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var removeTagEachLIne = function(lines, start, end) {
3434
lines[i] = '';
3535
}
3636
else if(stops) {
37-
lines[i] = '';
37+
if(tagSection) { lines[i] = ''; }
3838
tagSection = false;
3939
}
4040

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gulp-htmlhint-inline",
33
"description": "Gulp plugin for linting inline html",
4-
"version": "0.0.2",
4+
"version": "0.0.3",
55
"homepage": "https://github.com/kazu69/gulp-htmlhint-inline",
66
"main": "index.js",
77
"author": {

0 commit comments

Comments
 (0)