|Don't ask to ask, just ask|
Re: Perl Monks hypocrisyby Juerd (Abbot)
|on Jul 16, 2003 at 07:35 UTC||Need Help??|
Can't anyone who maintains this board figure out how to add an auto-line-break feature?
Just like most people, you use <p> tags. So you know why line-breaks are bad. Textareas may or may not wrap text. When a textarea does not wrap text, the user is likely to hit the return key in places where a <br> is not wanted.
(note the missing semicolon)
Quoting the HTML 4.0 specification:
Note. In SGML, it is possible to eliminate the final ";" after a character reference in some cases (e.g., at a line break or immediately before a tag). In other circumstances it may not be eliminated (e.g., in the middle of a word). We strongly suggest using the ";" in all cases to avoid problems with user agents that require this character to be present.As you can see, the semicolon is recommended, not required.
Well, thanks to my regex HTML parser, I discovered ...
Your parser being regex based is not relevant here. Regular expressions CAN be used to parse HTML. But a set of regexes that parses any HTML document correctly is much less efficient than something based on HTML::Parser. But it is very unlikely that your parser handles every feature that HTML offers.
I guess you could also infer from this post that I pay no mind to my reputation here.
In other words: you're a troll. Please troll elsewhere lest more people feed you.
it did find 283 other errors in http://perlmonks.com/index.pl.
I'm sure your patches are more than welcome. But for now: it works, so let's not break it while trying to fix a problem that isn't there in the first place.