我将 HTML 标记插入到数据库表中:
<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
并将检索到的数据发送到 View
func MyEvent(ctx iris.Context){
rows := ...
ctx.ViewData("rows", rows[0])
ctx.View("template.html")
}
我怎么能在这种情况下禁用自动转义?