mhonarc-users

Re: use of HTML in AddressModifyCode

2002-05-27 16:30:05
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(_at_)example(_dot_)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