CON-2166: remove whitespace before and after the infobox node