&less than
Friday, July 13th, 2007 03:59 pmWhen it's not followed by a letter or number, < can be interpreted by browsers in the same way as <. That is, < and < should both show up as less than symbols (check the source if you want to confirm). So if you leave out the semi-colon and just type <, it will still show up as a < as long as you don't do anything funny like follow it with a non-whitespace character (or will it work with certain other punctuation marks as well?)
It shows up this way on normal webpages, but not in comment notifications viewed in Gmail.
I can't tell whether it's a Gmail thing or an HTML cleaner thing. (Actually, for once I don't really care enough to test further. I'm just amused because I spent a few hours testing, only to have
aveleh forward me a link to a document in w3c stating that this is, indeed, proper behavior.)
ETA:
</fake html tag> (with <) should work properly. I just remembered, because it was a comment like this that sent me investigating in the first place.
It shows up this way on normal webpages, but not in comment notifications viewed in Gmail.
I can't tell whether it's a Gmail thing or an HTML cleaner thing. (Actually, for once I don't really care enough to test further. I'm just amused because I spent a few hours testing, only to have
ETA:
</fake html tag> (with <
no subject
Date: 2007-07-13 08:14 am (UTC)However, in XML (and, therefore, in XHTML) you cannot.
Maybe Gmail is using an XHTML parser? Or it's telling your browser that the page containing the comment notification email is XHTML, and your browser trusts the server and requires the semicolon then?
no subject
Date: 2007-07-15 06:59 am (UTC)no subject
Date: 2007-07-13 01:04 pm (UTC)no subject
Date: 2007-07-13 01:06 pm (UTC)maybe gmail translates it to an encoding where the code is not interpreted correctly html wise.
no subject
Date: 2007-07-15 07:00 am (UTC)no subject
Date: 2007-07-13 03:46 pm (UTC)no subject
Date: 2007-07-15 07:14 am (UTC)(Did it drive you as crazy as it drove me?)
no subject
Date: 2007-07-14 04:41 am (UTC)no subject
Date: 2007-07-15 07:15 am (UTC)