You ate my white space! (blanks, acii 20, ' ')
http://www.instructables.com/id/SXNSMLFFNNK14DC/
and no I don't want you to add "spreadsheet functionality", html tables, or any crap like that.
7
comments
|
Add Comment
|
A few weeks ago I submitted the following bug report to our internal bug tracking:
-bug- wiki editor converts two spaces to one space
This is a style issue that I'm really compulsive about, and it's been greatly annoying me lately. The wiki processor converts two spaces after a period or colon to a single space in the body and title of each step of an Instructable. I want two spaces after my periods to show up, if I put two spaces in!!!!!!!!
As displayed in an Instructable:
Despite the catchy title, this Instructable is more personal story than authoritative how-to: It chronicles how and why Squid Labs, Instructables, and our sister companies were started, and what we've learned along the way. Squid Labs is my research and innovation design firm, and Instructables is this project-sharing website.
In the editor:
Despite the catchy title, this Instructable is more personal story than authoritative how-to: It chronicles how and why Squid Labs, Instructables, and our sister companies were started, and what we've learned along the way. Squid Labs is my research and innovation design firm, and Instructables is this project-sharing website.
(the above example is funny because even though I've put two spaces in the example, they still won't be seen!)
To which Cloude responds:
Html only recognizes one space, it's not our wiki editor. To manually add a space, we use &nbps;
Do have any examples of sites that have two spaces at the end of a sentence? I'm sure there's a css way to add this, but it would probably be a bit out of control to implement.
"Write every full stop (period) as <span class="endsent">.</span>, and give it some margin-right. Yuk."
To which I respond:
Why has it taken me this long to realize this?!? I'm starting a petition to change HTML to recognize two spaces.
>> [... blah, blah, blah ...]
>> To which Cloude responds:
>> Html only recognizes one space, it's not our wiki editor.
>> [...]
>> To which I respond:
>> I'm starting a petition to change HTML to recognize two spaces.
You're going to need to time travel, Eric. This standard goes all the way back to the original HTML writeup by Tim B-L at CERN (see, for example, Chapter 6 of the HTML 2.0 spec.
Whitespace is used as a token delimiter and is eaten, then regenerated as a single blank or end-of-line character as needed by the rendering agent.
If you really want your browser to show you two spaces after a period (and please don't try to tell me what my browser should show me!), then you could write yourself a personal CSS (as Cloude suggested, or maybe even a DTD) and have it enabled for all pages you view.
I don't know enough detail to tell you want to put into it for this application, but I do know it's going to be really complicated: for example, how do you distinguish the period at the end of "...this project-sharing website." from the period in the middle of "Dr. Zhivago". Do they both get two spaces? If not, which one? And why?
This is really crappy, because the Web site's style sheets force the text input window to use a proportional font. You have to estimate the spacing by counting characters, and flip back and forth between edit/preview until you get the alignment right.
Nacho and I have both requested a more complete implementation of Wiki-formatting, including tabular data and so on, but new features are probably much lower on Rachel's list than bug fixes :-)
![]() |















Vancouver Mini Maker Faire 2012
Rebuilding NordicTrack ski machine drive rollers
Looking for New Zealand-based Instructables authors for conference on August 27 in Wellington
Call to makers - Brighton Mini Maker Faire
Milk Crates - not as green as you think
TEDxBaghdad - Iraq - violence, dust storms and open sourced manufacturing
UK Mini Maker Faire - The Derby Silk Mill - New Poster to Share!







