Fix nbsp characters in text