[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use of HTML in AddressModifyCode



On May 27, 2002 at 13:42, "John R. LoVerso" wrote:

> > > I particularly like this one, as it's non-linear:
> > > 
> > > 	<table cellpadding="0" cellspacing="0" border="0">
> > > 	<tr><td>user</td><td>&#64;</td>
> > > 	I can be reached at
> > > 	<td>example.com</td></tr></table>
> 
> Perhaps I wasn't clear enough;  the above _visually_ renders into
> 
> 	I can be reached at user@example.com
> 
> Look at the HTML: the text is non-linear; this is not something that a
> simple pattern matcher is going to find.

True.

Note, the markup you have is invalid.  It should be:

I can be reached at
<table cellpadding="0" cellspacing="0" border="0">
<tr><td>user</td><td>&#64;</td>
<td>example.com</td></tr></table>.

It still screws up any mailto: linking of addresses and spaces are
rendered around the "@" on some browsers (at least the text-based
ones like w3m, links, and lynx).

Also, the table introduces breaks in the flow of text where breaks
are not intended to be.

--ewh


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]