[Live HTML] Merge text nodes around comments

This is needed to support the way we represent element and text node positions (which assume only one text node between elements).