diff options
-rw-r--r-- | src/preamble.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js index 0416a25d..79a1b5b1 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -204,6 +204,10 @@ function __formatString() { ret = ret.concat(String_copy(arguments[argIndex])); argIndex += 1; textIndex += 2; + } else if (curr == '%'.charCodeAt(0) && next == 'c'.charCodeAt(0)) { + ret = ret.concat(arguments[argIndex]); + argIndex += 1; + textIndex += 2; } else { ret.push(curr); textIndex += 1; |