Skip to content

Commit

Permalink
use toString instead of shorthand casting
Browse files Browse the repository at this point in the history
  • Loading branch information
devoidfury committed Sep 7, 2016
1 parent b7d85d7 commit cf037c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function suppressValue(val, autoescape) {
val = (val !== undefined && val !== null) ? val : '';

if(autoescape && !(val instanceof SafeString)) {
val = lib.escape(''+val);
val = lib.escape(val.toString());
}

return val;
Expand Down

0 comments on commit cf037c3

Please sign in to comment.