At 8:12 PM -0500 11/24/02, David Williams wrote:
<a href=http://www.conceptionstore.com><img src=/images/cstore.gif
border=0></a>

becomes:

<a href="http" ://www.conceptionstore.com><img src /images/cstore.gif
border=0></a>

which is un-renderable.
However it is in fact a perfect representation of what you had. According to the HTML spec, your href value ended at the colon after http. Even if Embperl didn't rewrite the URL, it wouldn't properly escape any variables you put it in, because it's extremely invalid HTML. You really need to quote those URLs if you want them to work properly. Some browsers may be lenient about it, but I wouldn't want to gamble on it for all of them.

One of the big benefits of Embperl is it's ability to parse your HTML and take care of a lot of automatic things (filling in forms, looping on table rows...). But that does mean that you have to make sure your HTML is correct so that it can parse it.
--

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to