News for hackers. Stuff that matters.
Re:T.js - A tiny templating framework in ~400 bytes by rabidsnail on Monday August 13, 2012 @10:44PM (#4379139)
The 80% case:

    var render = function(src, data) {
        return src.replace(/{{(.*?)}}/g, function(w, p) {
            return data[p];
        });
    };
Re:T.js - A tiny templating framework in ~400 bytes by rauar on Tuesday August 14, 2012 @02:38AM (#4379701)
This is the 0% case. No escaping and therefore not safe w.r.t. XSS attacks.