niftylettuce/node-email-templates — pull request #16 by vekexasia (2012-11-01 16:52:33+00:00)
Title: Fix the batch problem ( has no method slice )

You can't pass to ejs.render() a function so if html is a function ( probably in batch mode ) then we set the html to that.html before calling ejs.render.