html :: HTMLPage :: open
open("ul") add("li").text("item1") add("li").text("item2") close("ul")
# Open a html tag # # ~~~nitish # open("ul") # add("li").text("item1") # add("li").text("item2") # close("ul") # ~~~ fun open(tag: String): HTMLTag do stack.push(current) current = add(tag) return current end