mitsuhiko/templatetk — comment on commit c042974efeb7191022ad615d4769f449217a622c
File: templatetk/res/templatetk.runtime.js line 14
By chrisdickinson:

creating a dummy element (say, a `p` tag) and using innerText / innerHTML [seems to be much faster for escaping](http://jsperf.com/yepinnertext)