htmljs-parser
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -1072,3 +1072,6 @@ var __defProp = Object.defineProperty; | ||
if (!expression.groupStack.length && (expression.terminatedByWhitespace || expression.terminatedByEOL)) { | ||
this.exitState(); | ||
if (checkForOperators(this, expression)) | ||
this.forward = 1; | ||
else | ||
this.exitState(); | ||
} | ||
@@ -1111,3 +1114,3 @@ }, | ||
} | ||
const pattern = parser.isConcise ? conciseOperatorPattern : htmlOperatorPattern; | ||
const pattern = parser.isConcise || expression.terminatedByEOL ? conciseOperatorPattern : htmlOperatorPattern; | ||
pattern.lastIndex = parser.pos; | ||
@@ -1114,0 +1117,0 @@ const matches = pattern.exec(parser.data); |
{ | ||
"name": "htmljs-parser", | ||
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"author": "Phillip Gates-Idem <phillip.idem@gmail.com>", | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
151048
4433