two-spaces after period - nbsp goes in the wrong place
|Reported by:||jaddle||Owned by:||azaozz|
When you enter two spaces (as, right or wrong, many people do after a period) in the visual editor, wordpress converts it to 'space + unicode_nbsp'. This mostly works fine, except that if the next sentence starts a newline, it will be indented by one space. The nbsp is 'attached' to the following sentence, in other words.
A better solution would be to put the nbsp BEFORE the normal space, so that the nbsp would be attached to the period. The problem would still occur with right or full-justified text, but this is less common than left-justified text.
Of course, many people will say that the real solution is to not (ab)use nbsp in this way, and to ignore double-spaces just like html normally would. I personally agree with this wholeheartedly, but some people are very attached to their double-spaces after sentences...
I've attached an html files that demonstrates the html that wordpress produces. Try opening it and then resizing your browser window until "There they go" moves to a second line, and you will see that it is indented slightly.
Change History (6)
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed