Transform input XHTML to move lines outside column <g> elements - for real this time