You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
teolemon
changed the title
Nitpicking (ensure we have proper spaces after commas, all the time)
Ensure we have proper spaces between brands after commas
Aug 7, 2022
Scratching my head how to address this. This falls into category of auto-correct. In this case it was a missing space after comma, but it may as well be mistyped brand name.
I could take "bob is your uncle" approach, and simply add space after comma, when user inputs text. But that seems hacky to me, since comma is not universal between languages.
I would just make sure that each comma is followed by one and only one space, at display time.
Yeah exactly. @WildOrangutan you could try to split at ','; trim every string and then join to a string with ', '. If we fail we just display the original value.
The text was updated successfully, but these errors were encountered: