The rendering engine on the site is doing something very odd... at least I think it is the engine that is acting up.

I am currently experimenting with parsing HTML and such, so I needed some examples. I did a "view source" on my home node, and used that to play with. After toying around, I put it through a HTML validator, and it was very upset that I had nested link (<a>) tags. And it turned out that it wasn't my parsing either, the original source from the page has nested, double links.

This is when it happens: When someone creates a normal link, using <a href=.... instead of the internal linking mechanism, which is necessary to create links with query strings. So far I've seen this behaviour on my own, and crazyinsomniac's home nodes (haven't looked further when I found another place), and at least on my node, the HTML is "sane" when I edit it. I have no doubt it is on his too.

So far, I've gotten the same behaviour from IE6 on windows 2000, and I've had opera on linux identify itself as IE5, mozilla 5.0 and Opera 6 so far - completely purging all cache and such between tries. Exact same error. Do a "view source" and search for '</a></a>' and you should see it.

Update: It seems that it matters if I am logged in or not. When logging out, the behaviour disappeared, which explains the lynx/perl issue below. I'm not sure if that doesn't make it *more* strange though...

But wait - it gets better! When I do a fetch of the page with lynx (linux) or LWP::Simple on the command line (both platforms), the HTML is sane!

Since our very openminded browsers seem to render this just fine anyways, it is no urgent issue, but: a) it is definetely some kind of bug, and b) I don't know what other things it might affect, so I thought I'd better bring it up right away.

I really doubt it is possible for both browsers to have this bug in it's rendering, especially since there really isn't anything odd about the original HTML. :)


You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.

In reply to Manually created links bug? Or what? by Dog and Pony

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.