Tuesday, October 29, 2013

How to end sentences with two spaces in web forms

For those obsessed with double-spacing at the end of sentences, I created this bookmarklet that can be used to add two spaces that won't collapse into a single space when viewed on a web page. It finds text boxes on a web page and converts all double spaces in them to non-breaking spaces (unlike normal spaces on the web, multiple consecutive non-breaking spaces don't get reduced to a single space automatically). I'm not sure why you'd want to do this, though.