Replace whitespaces to " "

Use text() instead of html() ?