Skip to content

Commit

Permalink
Add boundries to none regex
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker committed Mar 22, 2016
1 parent 97ab6c2 commit 8e57064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/convertColors.js
Expand Up @@ -19,7 +19,7 @@ var collections = require('./_collections'),
rComma = '\\s*,\\s*',
regRGB = new RegExp('^rgb\\(\\s*' + rNumber + rComma + rNumber + rComma + rNumber + '\\s*\\)$'),
regHEX = /^\#(([a-fA-F0-9])\2){3}$/,
none = /none/i;
none = /\bnone\b/i;

/**
* Convert different colors formats in element attributes to hex.
Expand Down

0 comments on commit 8e57064

Please sign in to comment.