|
|
@ -157,7 +157,7 @@ Token.prototype.attrReplace = function attrReplace(name, value) { |
|
|
|
var attrs = this.attrs; |
|
|
|
|
|
|
|
if (attrs) { |
|
|
|
// modify the existing attr is possible
|
|
|
|
// modify the existing attr if possible
|
|
|
|
for (var i = 0; i < attrs.length; i++) { |
|
|
|
if (attrs[i][0] === name) { |
|
|
|
if (!found) { |
|
|
|