output of spaces changed to non-breaking space