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 Cubeicals wine rack: I ended up cutting a...
Harry on Cubeicals wine rack: So Dave, how did you...
Emily on Constant vs. average speed: I can give you sun...
Dave on Accents that annoy me: I'm pretty much saying I...
Wendy on Accents that annoy me: Are you passively aggressively saying...
JSW on Accents that annoy me: KInda like I can't tell...
Dave on Accents that annoy me: Understood, but my untrained ears...
Dave on Constant vs. average speed: I don't think so.  There...
JSW on Accents that annoy me: I realize with you being...
Emily on Constant vs. average speed: You don't think the beaches...