I do not know your code, but you might be able to guess this from what the user types and skip the configuration option. If someone consistently enters two spaces you can then assume that when there is only one space it is a mistake.
"if the preceding substring was dot space, and the user types another space, just ignore it".
Hope that works for you.