From 9b054f8196d6d52e72f4f41c0e308b268f7ddb6b Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 28 Mar 2026 12:35:29 +0900 Subject: [PATCH] [+] add function for html th(CoreAttrs attr). Let add th with only attributes --- web/making_a_web_site.anubis | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index 1667bbf..75b551b 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -1756,6 +1756,7 @@ public define HTML_Off_Form th(List(CoreAttrs) attrs, List(HTML_Off_Form) conten public define HTML_Off_Form th(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("th", attrs, [content]). public define HTML_Off_Form th(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("th", [attr], content). public define HTML_Off_Form th(CoreAttrs attr, HTML_Off_Form content) = html_tag("th", [attr], [content]). +public define HTML_Off_Form th(CoreAttrs attr) = html_tag("th", [attr], []). public define HTML_Off_Form th(List(HTML_Off_Form) content) = html_tag("th", [], content). public define HTML_Off_Form th(HTML_Off_Form content) = html_tag("th", [], [content]). public define HTML_Off_Form th(String string) = html_tag("th", [], [text(string)]). -- libgit2 0.21.4