Ambiguous ampersands
mathiasbynens.be
mathiasbynens.be
I don't understand why HTML maintains its relaxed attitude. Back in the day, it was understandable since humans wrote HTML pages one by one but nowadays it's all written once and then generated through templates. Thus, we can afford to have a strict standard that just breaks when it sees nonconforming markup. If you don't want your customers to see the "page broken" sign, fix your damn website! Losing money and customers is a very good incentive to conform to a standard.
The reason I support stricter markup is because it makes parsing and rendering way simpler. As it is, browsers have "quirks mode" to guess at what the author really ment when they wrote their markup, and no two browser guesses the same. Then there are specialized "html parsers" like beautifulsoup that deal with the bad markup. Away with all that!
The kind of personality dysfunction required to deprioritize the authority and autonomy of the user in favour of machine concerns is enough that I don't want them involved in software I use. Such user-hostile malice is common in open source (due to the intrinsic incentives involved); IMO it's one of the primary reasons Linux fails on the desktop. Everybody is always eager to please the machine, forever creating new "consistent" abstractions, but not so happy to compromise even if such compromise lets the user win.
It's a serious problem. These dysfunctional people are far too numerous.
C'est la vie, though, I don't really mind.
http://my.opera.com/ODIN/blog/2011/09/28/no-more-xml-parsing...
> If you don't want your customers to see the "page broken" sign, fix your damn website!
Or switch to HTML. User is not the right person to show errors to — they can't even report those errors when browser makes "Contact" link inaccessible!
If you want to write valid markup, that’s great. Heck, we should all do it! But there’s a lot of invalid existing content out there that isn’t going to fix itself anytime soon.
Viewtext.org rewrites all links to a redirector on their own site, but doesn't decode the entities first. So if I have this link on my site:
<a href="http://example.com/?1=2&x=y">link</a>
Clicking that takes you directly to: http://example.com/?1=2&x=y
However, clicking the munged viewtext version of the link, sends you to: http://example.com/?1=2&x=y
That is a different URL! Can everyone please learn how to encode/decode html entities and uris properly.