Fixed nbsp overflow in html markup.

Consecutive nbsp HTML entities would overflow the whole string.