simple-html-tokenizer
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -136,3 +136,11 @@ (function (global, factory) { | ||
if (chars) { | ||
this.index = endIndex+1; | ||
var count = entity.length; | ||
// consume the entity chars | ||
while (count) { | ||
this.consume(); | ||
count--; | ||
} | ||
// consume the `;` | ||
this.consume(); | ||
return chars; | ||
@@ -139,0 +147,0 @@ } |
@@ -86,3 +86,11 @@ import { preprocessInput, isAlpha, isSpace } from './utils'; | ||
if (chars) { | ||
this.index = endIndex+1; | ||
var count = entity.length; | ||
// consume the entity chars | ||
while (count) { | ||
this.consume(); | ||
count--; | ||
} | ||
// consume the `;` | ||
this.consume(); | ||
return chars; | ||
@@ -89,0 +97,0 @@ } |
{ | ||
"name": "simple-html-tokenizer", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
199681
1250
0