Re: prettier html

2007-06-30 Thread Michael Trier
Yeah, thanks for the info. It's a nice addition. Michael On 6/30/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > oh yeah... thanks. > > I have head of BeautifulSoup - never used it before. my pages html are now > much > more readable. > > Carl K > > Michael Trier wrote: > > Make sure you have

Re: prettier html

2007-06-30 Thread Carl Karsten
oh yeah... thanks. I have head of BeautifulSoup - never used it before. my pages html are now much more readable. Carl K Michael Trier wrote: > Make sure you have an __init__.py in that directory. > > Michael > > On 6/29/07, Carl Karsten <[EMAIL PROTECTED]> wrote: >> Carl Karsten wrote: >>

Re: prettier html

2007-06-29 Thread Michael Trier
Make sure you have an __init__.py in that directory. Michael On 6/29/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > Carl Karsten wrote: > > Christian Joergensen wrote: > >> Carl Karsten wrote: > >>> nicely formated template code generates lots of CRs in the resulting > >>> html. I am > >>> tr

Re: prettier html

2007-06-29 Thread Carl Karsten
Carl Karsten wrote: > Christian Joergensen wrote: >> Carl Karsten wrote: >>> nicely formated template code generates lots of CRs in the resulting html. >>> I am >>> trying to figure out how to make the html a bit easier to read. >>> >>> for instance, how can I make this: >>> >>> >> {% ifequal d

Re: prettier html

2007-06-29 Thread Carl Karsten
Christian Joergensen wrote: > Carl Karsten wrote: >> nicely formated template code generates lots of CRs in the resulting html. >> I am >> trying to figure out how to make the html a bit easier to read. >> >> for instance, how can I make this: >> >> > {% ifequal day.day day.today %} class="toda

Re: prettier html

2007-06-29 Thread Carl Karsten
Doug Van Horn wrote: > On Jun 29, 12:20 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: >> for instance, how can I make this: >> >> > {% ifequal day.day day.today %} class="today"{% endifequal %}> >> >> Not put the CR inside the ? > > Is that line broken by a line break inserted by you? yes. to ke

Re: prettier html

2007-06-29 Thread Doug Van Horn
On Jun 29, 12:20 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: > for instance, how can I make this: > > {% ifequal day.day day.today %} class="today"{% endifequal %}> > > Not put the CR inside the ? Is that line broken by a line break inserted by you? I would think this would achieve your desire

Re: prettier html

2007-06-29 Thread Christian Joergensen
Carl Karsten wrote: > nicely formated template code generates lots of CRs in the resulting html. I > am > trying to figure out how to make the html a bit easier to read. > > for instance, how can I make this: > > {% ifequal day.day day.today %} class="today"{% endifequal %}> > > Not put the

prettier html

2007-06-29 Thread Carl Karsten
nicely formated template code generates lots of CRs in the resulting html. I am trying to figure out how to make the html a bit easier to read. for instance, how can I make this: Not put the CR inside the ? I realize i may be asking for magic, but I am thinking maybe something like skip