Re: 8.1.1 News Item,
tags

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: 8.1.1 News Item,
tags
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4E7E949@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на 8.1.1 News Item,
tags
 (Josh Berkus <josh@agliodbs.com>)
Список pgsql-www

> -----Original Message-----
> From: Josh Berkus [mailto:josh@agliodbs.com]
> Sent: 14 December 2005 00:14
> To: pgsql-www@postgresql.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

В списке pgsql-www по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: 8.1.1 News Item,
tags
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Archives formatting