* fix potential html markup validation issues
This commit is contained in:
parent
61d8f0b1df
commit
84e4140b54
|
@ -127,8 +127,8 @@ def XML(bc) {
|
|||
def out = new StringWriter()
|
||||
def xmb = new MarkupBuilder(out)
|
||||
xmb.omitNullAttributes = true
|
||||
xmb.omitEmptyAttributes = true
|
||||
xmb.expandEmptyElements= true
|
||||
xmb.omitEmptyAttributes = false
|
||||
xmb.expandEmptyElements= false
|
||||
bc.rehydrate(bc.delegate, xmb, xmb).call() // call closure in MarkupBuilder context
|
||||
return out.toString()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue