Summary text and newlines

7 views
Skip to first unread message

Marc Worrell

unread,
Apr 4, 2012, 7:06:53 AM4/4/12
to zotonic-d...@googlegroups.com
Hi,

Currently the summary text can be entered with newlines.
This is a bit confusing, as we don't display those newlines in the HTML.

Currently we don't allow any markup in the summary so that we can easily shorten it for display purposes.

Which makes sense, we don't want any markup in small list items (eg search results etc).
And it is easier to not bother about html when we shorten the text.

What to do with the possible new lines in the summary entry field?
Shall we just remove them and in the future disable newline entry in that field?

- Marc


Andreas Stenius

unread,
Apr 4, 2012, 7:39:46 AM4/4/12
to zotonic-d...@googlegroups.com
> What to do with the possible new lines in the summary entry field?
> Shall we just remove them and in the future disable newline entry in that field?

+1

Jeff Bell

unread,
Apr 4, 2012, 7:55:16 AM4/4/12
to zotonic-d...@googlegroups.com
+1, I guess it's called a summary for a reason :)

M-MZ

unread,
Apr 4, 2012, 8:28:44 AM4/4/12
to zotonic-d...@googlegroups.com
I use the linebraekesbr filter to get newlines in html. This inserts <br /> elements when it encounters a newline. It was very handy when I needed it  (in one spot). This was important for sending out emails in plaintext and html formats.

Maas
Reply all
Reply to author
Forward
0 new messages