diff --git a/web/making_a_web_site.anubis b/web/making_a_web_site.anubis index 92ed4e0..8803861 100644 --- a/web/making_a_web_site.anubis +++ b/web/making_a_web_site.anubis @@ -3716,7 +3716,7 @@ define String current = if h is { - //empty then "", + empty_attr then "", id(id_name) then " id=\"" + id_name + "\"", class(class_name) then "", //do nothing here, because we accumulate the class until we have some other attributes diff --git a/web/types/making_a_web_site.anubis b/web/types/making_a_web_site.anubis index 91ea121..b23b5fa 100644 --- a/web/types/making_a_web_site.anubis +++ b/web/types/making_a_web_site.anubis @@ -641,7 +641,7 @@ public type HTML_tooltip: public type CoreAttrs: - //empty, + empty_attr, id (String), //A unique identifier for the element. //There must not be multiple elements in a document that have the same id value. class (String), //A name of a classification, or list of names of classifications, to which the element belongs -- libgit2 0.21.4