Comparing version 2.0.3 to 2.1.0
@@ -0,1 +1,6 @@ | ||
2.1.0 / 2016-08-22 | ||
================== | ||
* Allow attributes that start with a colon | ||
2.0.3 / 2016-08-07 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -1085,7 +1085,2 @@ 'use strict'; | ||
if (key[0] === ':') this.incrementColumn(-key.length); | ||
else if (key[key.length - 1] === ':') this.incrementColumn(-1); | ||
if (key[0] === ':' || key[key.length - 1] === ':') { | ||
this.error('COLON_ATTRIBUTE', '":" is not valid as the start or end of an un-quoted attribute.'); | ||
} | ||
key = key.trim(); | ||
@@ -1092,0 +1087,0 @@ key = key.replace(/^['"]|['"]$/g, ''); |
{ | ||
"name": "pug-lexer", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"description": "The pug lexer (takes a string and converts it to an array of tokens)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
223049
297
4477