diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 5c941a2..5e4a7d6 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -2061,8 +2061,8 @@ public type HTML_Off_Form: . 'HTML_Off_Form' defines all the elements you may put outside any form. - -public define HTML_Off_Form text(List(CoreAttrs) attrs, Int i) = text(attrs, i). + +public define HTML_Off_Form text(List(CoreAttrs) attrs, Int i) = text(attrs, to_decimal(i)). public define HTML_Off_Form text(CoreAttrs attr, Int i) = text([attr], i). public define HTML_Off_Form text(Int i) = text([], i). public define HTML_Off_Form text(String s) = text([], s). -- libgit2 0.21.4