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
Post a Comment