Gaps In Markup

  • Thread starter Blinky the Shark
  • Start date
B

Bergamot

Blinky said:
Am I (or is my software) missing something here? What's making
these huge gaps in the code? (Look at your vert scrollbar.)

http://www.berniewilliams.net/

Look at it in a hex viewer. There are oodles of newlines in there,
sometimes with spaces between. It might be a lame attempt at the author
to discourage examining the source. Some people wouldn't notice the
scrollbars, just the mostly blank page.

Bernie seems a bit out of control. :)
 
B

Blinky the Shark

Beauregard said:
Bernie needs a new webmaster/author. Seems to be about 250 nested
spans.

Like I said, there were a LOT more than I showed in that screen cap.
Not counting the menu, the word count for that page is only 580.
How'd you run across this one?

It was a Google Groper I saw quoted in
news.mozilla.org:mozilla.support.firefox

<[email protected]>

GG carries that group and archives it, but the post doesn't seem to be
there, yet.

<q>

(e-mail address removed) pounded out the following on his or her keyboard on
10/2/2007 12:20 PM:
</q>

It's not uncommon for borked-website posts to appear in that group, even
from real Usenetters. That one shows 86 validation errors; granted,
that's a lot fewer than those spans. :)
 
B

Blinky the Shark

Bergamot said:
Look at it in a hex viewer. There are oodles of newlines in there,
sometimes with spaces between. It might be a lame attempt at the
author to discourage examining the source. Some people wouldn't notice
the scrollbars, just the mostly blank page.


Bernie seems a bit out of control. :)

Beau roughly counted them at about 250. :)

Okay, I hafta do this.

<counts string "span" on that index page with editor>

I did a global substitution just to get a count, and got

1752 substitutions on 36 lines

At two tags per span, that's 879 span elements. On some very long
lines. That's assuming they're all closed and therefore taking two tags
per element.

Funny (I think) that there's no creator ID in the head for
CrazyMakerPro, or whatever.
 
B

Beauregard T. Shagnasty

Blinky said:
<counts string "span" on that index page with editor>

I did a global substitution just to get a count, and got

1752 substitutions on 36 lines

At two tags per span, that's 879 span elements. On some very long
lines. That's assuming they're all closed and therefore taking two
tags per element.

That's more trouble than I took. <g> I look at the top group of
<span><span><span><span> ...
and came up with the 250 there.
 
B

Blinky the Shark

Beauregard said:
That's more trouble than I took. <g> I look at the top group of
<span><span><span><span> ...
and came up with the 250 there.

I figured that that page was a certifiable prize winner, or I wouldn't
have taken the time myself. :)

Anyway, it didn't take long to slap the source in to vim and enter

%s/span/wookie/g

:) And "wookie"? I figured if for any reason I wanted to
re-substutute, "wookie" wouldn't be a likely string to be in the
original source. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top