simple-html-tokenizer
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -103,3 +103,3 @@ /** | ||
} | ||
else if (char === '@' || isAlpha(char)) { | ||
else if (char === '@' || char === ':' || isAlpha(char)) { | ||
this.transitionTo("tagName" /* tagName */); | ||
@@ -400,3 +400,3 @@ this.tagNameBuffer = ''; | ||
var char = this.consume(); | ||
if (char === '@' || isAlpha(char)) { | ||
if (char === '@' || char === ':' || isAlpha(char)) { | ||
this.transitionTo("tagName" /* tagName */); | ||
@@ -403,0 +403,0 @@ this.tagNameBuffer = ''; |
@@ -109,3 +109,3 @@ (function (global, factory) { | ||
} | ||
else if (char === '@' || isAlpha(char)) { | ||
else if (char === '@' || char === ':' || isAlpha(char)) { | ||
this.transitionTo("tagName" /* tagName */); | ||
@@ -406,3 +406,3 @@ this.tagNameBuffer = ''; | ||
var char = this.consume(); | ||
if (char === '@' || isAlpha(char)) { | ||
if (char === '@' || char === ':' || isAlpha(char)) { | ||
this.transitionTo("tagName" /* tagName */); | ||
@@ -409,0 +409,0 @@ this.tagNameBuffer = ''; |
{ | ||
"name": "simple-html-tokenizer", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"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
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
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
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
394613
1