From 841653f502f66f30f0b07ee1948623809936821b Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 15 Sep 2024 02:55:36 +0400 Subject: [PATCH] A strange escaping is being performed somewhere inside ctxi18n and i18n.M is a way to avoid it. --- web/guestbook.templ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/guestbook.templ b/web/guestbook.templ index 3a61ce4..ffb5346 100644 --- a/web/guestbook.templ +++ b/web/guestbook.templ @@ -22,13 +22,13 @@ templ Guestbook(captchaID, owner string, entries []*justguestbook.Entry, pageCou
- @templ.Raw(i18n.T(ctx, "guestbook.form.quote-usage")) + @templ.Raw(i18n.T(ctx, "guestbook.form.quote-usage", i18n.M{"sign":">"})) CAPTCHA - @templ.Raw(i18n.T(ctx, "guestbook.form.captcha-validity")) + @templ.Raw(i18n.T(ctx, "guestbook.form.captcha-validity", i18n.M{"valid":"10"}))