skipping double spaces at the end of lines (issue for D3 ?)