[ZO-Coll] [ZOC] 296/ 2 Resolve "Backtalk books comments don't preserve line breaks"

Collector: NEW Zope.org (the ... zope-web at zope.org
Thu Nov 20 08:15:37 EST 2003


Issue #296 Update (Resolve) "Backtalk books comments don't preserve line breaks"
 Status Resolved, skin/bug low
To followup, visit:
  http://zope.org/Collectors/ZopeOrg/296

==============================================================
= Resolve - Entry #2 by dtremea on Nov 20, 2003 8:15 am

 Status: Pending => Resolved

> Backtalk comments (e.g. in Zope BOok or dev guide) don't 
> preserve line breaks in the user's comments.
> So posting e.g. a python code example isn't so good.
> 
> Looks like only a stylesheet issue, the html source is 
> nice and readable.

Yep, it's only a CSS issue:

- From: white-space: normal;
- To..: white-space: pre;

Anyway we have a problem here:

a) Using as 'normal' the line breaks are removed
   (not good to python code) but all long lines are
   also breaked (good for site layout, because the
   horizontal scrollbar doesn't appear);

b) Using as 'pre' we have the opposed behavior: python
   code looks good but the scrollbar gone wild...

Well, I prefer solve (b) and warn members to break their
long lines... ;-)

(Note: changed 'backtalk_document_view')
________________________________________
= Request - Entry #1 by Anonymous User on Nov 19, 2003 7:58 pm

Backtalk comments (e.g. in Zope BOok or dev guide) don't preserve line breaks in the user's comments.
So posting e.g. a python code example isn't so good.

Looks like only a stylesheet issue, the html source is nice and readable.
Example:
http://zope.org/Documentation/Books/ZDG/current/Gotchas
- fourth comment down.
Thanks!
==============================================================




More information about the Zopeorg-collector mailing list