howto render html tag from variable:
ctx.HTML(200, "user.html", gin.H{
"title": "User Management",
"content": "<button>Private Button</button>",
"users": listUser,
})
howt render <button>Private Button</button> as html tag?
Comment From: tnothy
Have you tried passing the button as template.HTML instead of string?
Comment From: centratelemedia
@KKRaver, no i don't know about template.HTML is this golang standard package or gin gonic?
Comment From: centratelemedia
thank got answer from https://github.com/gin-gonic/gin/issues/1045