Re: 8.1.1 News Item, <br> tags

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <josh(at)agliodbs(dot)com>, <pgsql-www(at)postgresql(dot)org>
Cc: "Devrim GUNDUZ" <devrim(at)commandprompt(dot)com>
Subject: Re: 8.1.1 News Item, <br> tags
Date: 2005-12-14 08:36:58
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7E949@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

> -----Original Message-----
> From: Josh Berkus [mailto:josh(at)agliodbs(dot)com]
> Sent: 14 December 2005 00:14
> To: pgsql-www(at)postgresql(dot)org
> Cc: Dave Page; Devrim GUNDUZ
> Subject: Re: [pgsql-www] 8.1.1 News Item, <br> tags
>
> Dave,
>
> > The problem is Josh, that if we don't insert <br> tags, everyone's
> > articles become one big paragraph. Format how you want it to look in
> > plain text and it'll come out OK on the site.
>
> Yes, but that doesn't work for <ul> lists or other non-paragraph
> formatting. Like I said, I think that adding the <br>'s
> automatically for
> public submissions is a good idea. I just think that *we*
> should be able
> to turn it off if we want to fix the formatting by hand.

Unfortunately it's not as simple as just turning it off - we'd need to
modify the code right the way from input form, through the admin pages
to the page generation because we store the raw input in the database.
We'd need to add a flag to tell the system how to render the content.
That's not to say it can't be done, just that it's a non-trivial job.

FWIW though, UL/LI formatting does work OK as it is - see
http://wwwmaster.postgresql.org/about/news.419 for example.

Regards, Dave

Browse pgsql-www by date

  From Date Subject
Next Message Robert Treat 2005-12-14 13:19:57 Re: Archives formatting
Previous Message Dave Page 2005-12-14 08:30:58 Re: 8.1.1 News Item, <br> tags