fixed variable values not being formatted in XML/HTML result
Merge branch 'v0.10.x_bugfix'