html-minifier
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "html-minifier", | ||
"description": "Highly configurable, well-tested, JavaScript-based HTML minifier.", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"keywords": [ | ||
@@ -69,3 +69,3 @@ "cli", | ||
"grunt-contrib-uglify": "2.0.x", | ||
"grunt-eslint": "19.0.x", | ||
"gruntify-eslint": "3.1.x", | ||
"phantomjs-prebuilt": "2.1.x", | ||
@@ -75,3 +75,3 @@ "qunitjs": "2.x" | ||
"benchmarkDependencies": { | ||
"brotli": "1.2.x", | ||
"brotli": "1.3.x", | ||
"chalk": "1.1.x", | ||
@@ -78,0 +78,0 @@ "cli-table": "0.3.x", |
@@ -1141,3 +1141,7 @@ 'use strict'; | ||
if (/^\s/.test(text)) { | ||
trimTrailingWhitespace(buffer.length - 2, 'br'); | ||
var tagIndex = buffer.length - 1; | ||
while (tagIndex > 0 && buffer[tagIndex].lastIndexOf('<' + prevTag) !== 0) { | ||
tagIndex--; | ||
} | ||
trimTrailingWhitespace(tagIndex - 1, 'br'); | ||
} | ||
@@ -1144,0 +1148,0 @@ } |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
87647
9
2019
0
157