IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New can't get there from here
In HTML consecutive white space characters are replaced by a single space. The only exception is in a preformatted area <pre>...</pre>. Within those tags white space is respected. As for tab handling within the preformatted area, the HTML 4 spec has this to say on the subject:

The horizontal tab character


The horizontal tab character (decimal 9 in [link|http://www.w3.org/TR/html4/references.html#ref-ISO10646|[ISO10646]] and [link|http://www.w3.org/TR/html4/references.html#ref-ISO88591|[ISO88591]] ) is usually interpreted by visual user agents as the smallest non-zero number of spaces necessary to line characters up along tab stops that are every 8 characters. We strongly discourage using horizontal tabs in preformatted text since it is common practice, when editing, to set the tab-spacing to other values, leading to misaligned documents.



See it [link|http://www.w3.org/TR/html4/struct/text.html#h-9.3.4|here].

Eight shalt be the number thou shalt count, and the number of the counting shall be eight. :-)
Have fun,
Carl Forde
New Whom God favors, he shall be allowed the half measure of Tab
-drl
New Look at the root post...
Scott's code has tabs. And is formatted in a way that I dislike.

I'd like to see the same code, formatted in a way that I like.

This is possible if Scott substitutes hard spaces for the tab up front. Which he could do with his HTML handler. (But probably isn't worthwhile.)

I was mostly asking as a way of pointing out to Scott that his note that I should just set the tabstop like he does isn't entirely feasible.

Cheers,
Ben
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
     Perl code to generate a blank .gif file - (admin) - (13)
         Oh "my" - niceness spoiled by language gouges -NT - (deSitter) - (6)
             ? -NT - (admin) - (5)
                 the "my" keyword is wonky-wonky-wonky - (deSitter) - (4)
                     No, local would NOT be just as good - (ben_tilly) - (3)
                         Not tied to the word itself - (deSitter) - (2)
                             Well, it's obviously not to your taste - (ben_tilly) - (1)
                                 Re: Well, it's obviously not to your taste - (deSitter)
         How about style nits instead? - (ben_tilly) - (5)
             Re: How about style nits instead? - (admin) - (4)
                 Question - (ben_tilly) - (3)
                     can't get there from here - (cforde) - (2)
                         Whom God favors, he shall be allowed the half measure of Tab -NT - (deSitter)
                         Look at the root post... - (ben_tilly)

Like many lawyers, he's overly fond of argument, even when in agreement. Not that anyone here would be into that...
58 ms