fix spaces for markdown