Fixes consecutive <br> elements causing ReferentialText#toPublishables to flip text nodes around.