Fixed the showing nbsp problem

https://bugzilla.mozilla.org/show_bug.cgi?id=921646