fix XHtml node rendering issue