Merge pull request #388 from ForsakenHarmony/patch-1

Fix formatting bug
This commit is contained in:
Nathan Rajlich 2016-12-20 13:20:13 -08:00 committed by GitHub
commit f09833136e

View File

@ -95,7 +95,7 @@ function formatArgs(args) {
// figure out the correct index to insert the CSS into
var index = 0;
var lastC = 0;
args[0].replace(/%[a-z%]/g, function(match) {
args[0].replace(/%[a-zA-Z%]/g, function(match) {
if ('%%' === match) return;
index++;
if ('%c' === match) {