Fix removing extra whitespace at the connection of two xml markup tags
Basically, now we handle all the markup instead of delegating that to Qt.
It fixes the problem of eating elements like 'aaa<tspan> </tspan>bbb'.
Now we traverse the DOM tree extensively to handle that correctly.
CCBUG:399227