diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/codeq/hint.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/hint.js b/js/codeq/hint.js index dc774ba..06eceb0 100644 --- a/js/codeq/hint.js +++ b/js/codeq/hint.js @@ -35,7 +35,8 @@ if (!args) return template; return template.replace(/\[%=(\w+)%\]/g, function(match, name) { - return args[name].replace(/&/g, '&') + return args[name].toString() + .replace(/&/g, '&') .replace(/</g, '<') .replace(/>/g, '>'); }); |