We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8db7b9 commit 101b079Copy full SHA for 101b079
1 file changed
index.html
@@ -2692,6 +2692,12 @@ <h2 id="utility">Utility Functions</h2>
2692
should be a hash containing any <tt>_.templateSettings</tt> that should be overridden.
2693
</p>
2694
2695
+ <p role=note>
2696
+ <em><tt>_.template</tt> allows the template author to insert arbitrary
2697
+ JavaScript code by design. This means that you should only pass template
2698
+ code from trusted authors.</em>
2699
+ </p>
2700
+
2701
<pre>
2702
var compiled = _.template("hello: <%= name %>");
2703
compiled({name: 'moe'});
0 commit comments