diff --git a/examples/todo-list/partials/task/task.go b/examples/todo-list/partials/task/task.go index fd55827..f50f638 100644 --- a/examples/todo-list/partials/task/task.go +++ b/examples/todo-list/partials/task/task.go @@ -70,7 +70,7 @@ func CompleteAllIcon(list []*ent.Task) *h.Element { return h.Div( h.ClassX("absolute top-1 left-5 p-2 rotate-90 text-3xl cursor-pointer", map[string]bool{ "text-slate-400": notCompletedCount > 0, - }), h.Text("›"), + }), h.UnsafeRaw("›"), h.PostPartialWithQs(CompleteAll, h.NewQs("complete", h.Ternary(notCompletedCount > 0, "true", "false"))), ) } diff --git a/htmgo-site/partials/navbar.go b/htmgo-site/partials/navbar.go index 9191c85..c384b88 100644 --- a/htmgo-site/partials/navbar.go +++ b/htmgo-site/partials/navbar.go @@ -148,7 +148,7 @@ func MobileNav(ctx *h.RequestContext, expanded bool) *h.Element { ), h.Class("text-2xl"), - h.Text("☰"), + h.UnsafeRaw("☰"), ), ), ),