Correctly converting &nbsp;'s to spaces in markdown