Spaces around elements in text blocks