Fix how xmlMode renders closed tags with no children