Commit 56e530ab078e17b77356c4c7611929ae4d44e75d

Authored by David RENÉ
1 parent 13c4daf2

[+] add html th tag without any argument

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
web/making_a_web_site.anubis
@@ -1757,11 +1757,12 @@ public define HTML_Off_Form th(List(CoreAttrs) attrs, HTML_Off_Form content) @@ -1757,11 +1757,12 @@ public define HTML_Off_Form th(List(CoreAttrs) attrs, HTML_Off_Form content)
1757 public define HTML_Off_Form th(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("th", [attr], content). 1757 public define HTML_Off_Form th(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("th", [attr], content).
1758 public define HTML_Off_Form th(CoreAttrs attr, HTML_Off_Form content) = html_tag("th", [attr], [content]). 1758 public define HTML_Off_Form th(CoreAttrs attr, HTML_Off_Form content) = html_tag("th", [attr], [content]).
1759 public define HTML_Off_Form th(CoreAttrs attr) = html_tag("th", [attr], []). 1759 public define HTML_Off_Form th(CoreAttrs attr) = html_tag("th", [attr], []).
1760 -public define HTML_Off_Form th(List(HTML_Off_Form) content) = html_tag("th", [], content).  
1761 -public define HTML_Off_Form th(HTML_Off_Form content) = html_tag("th", [], [content]). 1760 +public define HTML_Off_Form th(List(HTML_Off_Form) content) = html_tag("th", [], content).
  1761 +public define HTML_Off_Form th(HTML_Off_Form content) = html_tag("th", [], [content]).
1762 public define HTML_Off_Form th(String string) = html_tag("th", [], [text(string)]). 1762 public define HTML_Off_Form th(String string) = html_tag("th", [], [text(string)]).
1763 public define HTML_Off_Form th(CoreAttrs attr, String string) = html_tag("th", [attr], [text(string)]). 1763 public define HTML_Off_Form th(CoreAttrs attr, String string) = html_tag("th", [attr], [text(string)]).
1764 public define HTML_Off_Form th(List(CoreAttrs) attrs, String string) = html_tag("th", attrs, [text(string)]). 1764 public define HTML_Off_Form th(List(CoreAttrs) attrs, String string) = html_tag("th", attrs, [text(string)]).
  1765 +public define HTML_Off_Form th = html_tag("th", [], []).
1765 1766
1766 // <td> 1767 // <td>
1767 public define HTML_Off_Form td(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("td", attrs, content). 1768 public define HTML_Off_Form td(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("td", attrs, content).