* fix potential html markup validation issues

This commit is contained in:
Reinhard Pointner 2014-03-24 06:37:28 +00:00
parent 61d8f0b1df
commit 84e4140b54
1 changed files with 2 additions and 2 deletions

View File

@ -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()
}