Y
Hacker News
new
|
ask
|
show
|
jobs
by
oneeyedpigeon
1998 days ago
How would you handle the case in which a sentence ends with an abbreviation?
2 comments
Mikhail_Edoshin
1998 days ago
You cannot get everything :) It will recognize this as the end of a sentence. One use case I was thinking of was to automatically make spaces after initials non-breaking, as in "R. P. McMurphy".
link
dredmorbius
1998 days ago
Two spaces
distinguish sentences.
The abbreviation ends a sentence. It gets two spaces.
link