Skip to content

Commit 29e1d88

Browse files
authored
ref: simplify logo rendering by removing redundant HTML conversion
1 parent c54faea commit 29e1d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/model/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ func (c Config) toHtml(s string) template.HTML {
6666
}
6767

6868
func (c Config) GetLogo() template.HTML {
69-
return c.toHtml(c.Content.Logo)
69+
return template.HTML(c.Content.Logo)
7070
}

0 commit comments

Comments
 (0)