Why doesn't Twitter and Google API documentation encode ampersands in URLs?
I have read I should encode my ampersands as & in HTML. However numerous code samples from respected companies somehow forget to do this . Just a few examples off the top of my head: Google Web Fonts sample code: <link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin,cyrillic' rel='stylesheet' type='text/css'> Google Maps documentation: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&language=ja"> Twitter Anywhere official tutorial: <script src="http://platform.twitter.com/anywhere.js?id=YOUR_API_KEY&v=1" type="text/javascript"></script>