Of course, all instances of "http:/" in the examples below should  
actually be "http://";.

- Jim


On Oct 23, 2008, at 12:12 AM, Jim Correia wrote:

> Here's an example of why you need to do this. The trailing ; is
> optional.
>
> Suppose you have a URL
>
>       http:/www.example.com/someForm.cgi?mailto=jim&copy=YES
>
> So you write HTML like this
>
>       <a href="http:/www.example.com/someForm.cgi?mailto=jim&copy=YES">Send
> Mail</a>
>
> Your browser will decode the entities, and send
>
>       http:/www.example.com/someForm.cgi?mailto=jim©=YES
>
> By not encoding the &, you have "wrecked" the link.
>
> When you encode as &amp; your browser will decode the HTML attribute
> value before constructing its request.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to