static S htag(S tag) { ret htag(tag, ""); } static S mapMethodLike htag(S tag, O contents, O... params) { S openingTag = hopeningTag(tag, params); S s = str(contents); if (empty(s) && neqic(tag, "script")) ret dropLast(openingTag) + "/>"; ret openingTag + s + ""; }