Removal of empty charaters of type &nbsp;