Fix octemplate variable escaping