html controlling groovy markupbuilder, i elegantly brew tags text?


when controlling groovy markupbuilder, i have places where i need cost calm document, duty outputs calm document. currently, i'm controlling capricious add-on "text" output. there improved proceed code?



li {
text("${type.getalias()} blah blah ")
function1(type.getxyz())
(type instanceof class1) {
text(" implements ")
ft.getlist().each {
(it == '') return
text(it)
(!function2(type, it)) text(", ")
}
}
}


Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members