pviswanathan / ChromeAutoTextExpander

Google Chrome Extension : Auto Text Expander - listens for keypresses on pages that support it and will auto-replace text as you type. Keywords: javascript jquery chrome text expander replacement.
MIT License
157 stars 45 forks source link

Multiple consecutive whitespaces in expanded text output - Solution #26

Open t2uus opened 8 years ago

t2uus commented 8 years ago

Multiple consecutive whitespaces in expanded text output.

I found a solution to this ,that worked for me, via the wikipedia page on "Whitespace characters" and thought I would share it here.

Working example below ●                    ● The characters 'between' the two bullet points above are not spaces, they are "PUNCTUATION SPACES" which work (show up invisibly) for me in a gmail compose window (what I needed)

Enjoy :)

P.S. - I'll include below some other whitespace characters that work below; there are 10 of each in front of their names.

          en space           em space           three-per-em space           four-per-em space           six-per-em space           figure space           punctuation space           thin space           hair space           narrow no-break space

carlinyuen commented 5 years ago

Oh hey Tim, this is really cool! Interesting, thanks for sharing this. Hmm I'm not thinking of replacing people's whitespaces with these characters yet, but it's a great potential solution for people who need it. Will leave this open so people can find it. :)