3 ms·
Web frameworks/libraries/apps that make correct HTML encoding possible without much fuss are a pleasant surprise on those rare occasions when I encounter them.
by jerf 17y ago
Web frameworks/libraries/apps that make correct HTML encoding possible without much fuss are a pleasant surprise on those rare occasions when I encounter them. Web frameworks/libraries/apps that actually do it right knock me over. I don't know of very many examples that even come close.
(This isn't my only metric, but it's a good start: Set a variable to ampersand, then do the basic string output that your template library or whatever has, feeding it that variable. If you get & automatically and have to ask extra hard for a bare ampersand, you've officially gotten me up to "Hey, wow!" That's just one metric I use of many, but making the safe thing easy and the dangerous thing harder is a good start! This knocks out almost every web framework/library/web templating system I've tried.)