Fix incorrect &nbsp; encoding