revel/revel — pull request #565 by landr0id (2014-03-22 23:11:08+00:00)
Title: Fix #563 -- Some custom template funcs cannot be used in JavaScript cont...

This fix essentially allows the functions which *always* return nothing (i.e. `set` and `append`) to be used within the context of JavaScript.

I explain in #563 but basically by returning `template.HTML`, the template engine will insert quotes if these methods are used within a `