From e544971ff74f37a24f63bad4e46479341770f567 Mon Sep 17 00:00:00 2001 From: totoro Date: Mon, 13 Mar 2023 14:55:19 +0100 Subject: [PATCH] [+] add svg as html tag --- web/making_a_web_site.anubis | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index 7c3642d..0f5c670 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -1621,6 +1621,7 @@ public define HTML_Off_Form span(Int i) public define HTML_Off_Form span(List(CoreAttrs) attrs, String s) = html_tag("span", attrs, [text(s)]). public define HTML_Off_Form span(CoreAttrs attr, String s) = html_tag("span", [attr],[text(s)]). public define HTML_Off_Form span(String s) = html_tag("span", [], [text(s)]). + // public define HTML_Off_Form strong(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("strong", attrs, content). public define HTML_Off_Form strong(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("strong", attrs, [content]). @@ -1629,6 +1630,10 @@ public define HTML_Off_Form strong(CoreAttrs attr, HTML_Off_Form content) public define HTML_Off_Form strong(List(HTML_Off_Form) content) = html_tag("strong", [], content). public define HTML_Off_Form strong(HTML_Off_Form content) = html_tag("strong", [], [content]). + // +public define HTML_Off_Form svg(List(CoreAttrs) attrs) = html_tag("svg", attrs, []). + + // public define HTML_Off_Form table(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("table", attrs, content). public define HTML_Off_Form table(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("table", attrs, [content]). -- libgit2 0.21.4