Fixed whitespace replace in text content