mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Ensure _.template coerces the text argument to a string.
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -4337,7 +4337,7 @@
|
||||
var _ = lodash,
|
||||
settings = _.templateSettings;
|
||||
|
||||
text || (text = '');
|
||||
text = String(text || '');
|
||||
options = defaults({}, options, settings);
|
||||
|
||||
var index = 0,
|
||||
|
||||
Reference in New Issue
Block a user