From bc3738d48d478b506ee066c07cbc0426c34472e8 Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 15 Jun 2025 11:17:25 +0900 Subject: [PATCH] [+] add init in CoreAttrs, which add value attribute --- web/making_a_web_site.anubis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index e34f02f..e9581ec 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -1560,7 +1560,7 @@ public define HTML_Off_Form input(CoreAttrs attr) public define CoreAttrs type(String value)= attr("type", value). public define CoreAttrs name(String value)= attr("name", value). public define CoreAttrs value(String value)= attr("value", value). - +public define CoreAttrs init(String value)= attr("value", encode_HTML_entities(value)). //-- BEGIN of preset type /// Radio button -- libgit2 0.21.4