Re: <address> tag



* John Fleck (jfleck@inkstain.net) wrote at 06:02 on 23/08/00:
> On Tue, Aug 22, 2000 at 03:12:26PM +0300, Ali Abdin wrote:
> > How exactly does the <address> tag work? For example I see the following:
> > <address>
> >     Free Software Foundation, Inc.
> >     <street>59 Temple Place</street> - Suite 330
> >     <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
> >     <country>USA</country>
> > </address>
> > 
> Should render as:
> 
>     <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Free Software Foundation, Inc.<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;59 Temple Place - Suite 330<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Boston, MA 02111-1307<br>
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USA<br>
> &nbsp;&nbsp;&nbsp;&nbsp;</P>
> 
> 
> So <address>=<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> 	parse and print stuff inside it
> </address>=</P>
> 
> It looks like db2html/jade is doing:
> 	<street> = just print stuff inside it
> 	<city> = <br> then print stuff inside it
> 	<postcode> = print stuff inside it, then <br>
> 	<country> = print stuff inside it, then <br>
> 
> > and I see the following:
> > <address>
> >   <email>dcm@redhat.com</email>
> > </address>
> > 
> 
> For this, just printing the stuff inside it will work (you're already
> doing emails right).

You are creating conflicting statements - In the /SECOND/ case we would get
 the <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to render - and we do not want this to
happen. 

So basically - you have a problem with <address> :( I have an idea though - I
was just hit with an inspiration (we will use a 'sect_address_characters' - in
the first case it will get called because of the characters in the address tag
- in the second case it won't get called because there are no characters to
  print).

Regards,
Ali





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