Example #1
0
func OutputHTML(content []byte, ctx *X.Context, args ...int) (err error) {
	code := ctx.Code
	if len(args) > 0 {
		code = args[0]
	}
	return ctx.HTML(code, string(content))
}