Marco Luthe Online! » Around The Web » Ampersands & XHTML
Ampersands & XHTML
Please, guys: USE THE HTML ENTITY WHEN USING ‘&’ IN URIs!
I found this being used in the wrong way within the code of several tools like e.g. the Flickr.com bagde, the ShareThis button and (a few minutes ago) within the Digg.com widget code, and I can’t stand it anymore.
Please, guys: if you provide e.g. a JavaScript code that is to be embedded via <script src…>, then show it like
http://youruri/service?option1=1&+amp;option2=2&+amp;option3=3… etc.
instead of using a normal ‘&’ (without the ‘+’ of course, which I just use here because this bloody WYSIWYG-editor of WordPress somehow eats the amp; otherwise, aaaarrrrgggghhhh).
This can’t be TOO hard, can it?!
Filed under: Around The Web · Tags: (X)HTML, ampersand, validation











