From 038b4191f7d8e0cd8d79a1eb23a09e8896cd0918 Mon Sep 17 00:00:00 2001 From: Ivan Kropotkin Date: Sat, 20 Jul 2024 12:40:48 +0200 Subject: [PATCH] fix html escaping --- ui/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.go b/ui/ui.go index 801ac907..ffd656c0 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -200,7 +200,7 @@ func renderForPrd(w io.Writer, c *content, cfg *config.Config, cfgJson string, i "Source": html_template.HTML(buf.String()), "Host": r.Host, "InitSearch": initSearch, - "Promo": randomAd, + "Promo": html_template.HTML(randomAd), }) }