Fix cell merging to not result unneeded white spaces

Merging table cells which contains &nbsp; will no longer result 
in the cell that was merged having unnecessary white spaces.