Question
When I do a SEARCH like this:
%SEARCH{"AnnouncementStatus.*(value\=).*[V]alidAnnouncement" web="Announcements" regex="on" nosearch="on" order="modified" reverse="on" nototal="on" limit="3" format="<dt>[[Announcements.$topic][$formfield(Title)]] $date <dd>$formfield(Announcement,120,...) <dd> " }%
I encounter the problem a problem if the user enters several paragraphs into the textarea variable Announcement. The output is not cut at 120 characters for the formfield Announcement. It is cut at 120 characters of the first paragraph, but then it includes in their entirety all remaining paragraphs of the textarea Announcement.
You can see what I mean here in the box for recent announcements:
http://www.ku.edu/cgiwrap/kups/twiki/view
- TWiki version: TWiki20030201
- Perl version: 5.6
- Web server & version: Apache
- Server OS: DEC osf
- Web browser & version: Mozilla
- Client OS: Linux
--
PaulJohnson - 30 Jun 2003
Answer
Topic revision: r2 - 02 Jan 2004 - 06:56:06 -
PeterThoeny