ddhr.org
Two space compliance (2) Thursday, Jul 20, 2006 3:23 pm

My site is now officially two space compliant!  This means that sentences with two spaces after the period are shown with two spaces after the period!  This sounds like a simple concept, but HTML makes things pretty difficult by only showing a single space whether there are two or a million.  Scott Reilly's Text Replace plugin to the rescue!  It's painfully simple:  It searches for a specified piece of text and replaces it with a different specified piece of text.  In my case, it looks for two spaces and replaces them with a   and a single space (a single space and a   didn't work quite right; neither did two  ).  It doesn't save the changes into the database; it's just a front-end aesthetic thing.  It's the most useful thing I've come across in a while. 

zooplah Wednesday, Aug 9, 2006 1:48 pm

How positively obsessive compulsive :)

My concern would be that it might throw people off and take them longer to read when they're used to single-spaced documents.

Dave Wednesday, Aug 9, 2006 1:59 pm

Heck yeah!  OCD! 

I doubt it'll take anyone more time to read unless they spend time reading spaces.  If anything, it should make it easier to read because it shows where sentences end.

Hello
Hi, my name is Dave Hosier, and this website is where I write my unfounded opinions on trivial matters. Feel free to look around, but please refrain from reading anything.

about | contact | feed

Comments (feed)
Dave on Wedding investment: Well obviously stay away from...
Rus on Wedding investment: Can you advise us on...
Someone who is not young but not old on Old age pains: Regarding Paragraph 1 Sentence 2,...
Bobby on Blackberry vs. black raspberry: I grew up in Olney,...
Richi near Frankfurt/M. on WinXP .mov thumbnails: Thanks Dude, that solved my...
saphrenne on Strummit From The Summit: I love this song so...
Rosalyne on Blackberry vs. black raspberry: I grew up eating BlackCaps...
BONNIE on Glitter cards: thats awsome... i laugh out...
Christy on WinXP .mov thumbnails: was skeptical at first... Windows...
Wendy on Tony Romo chokes: Have you seen this article...