Index: openacs-4/packages/notes/www/add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notes/www/add-edit.tcl,v diff -u -N -r1.5 -r1.5.2.1 --- openacs-4/packages/notes/www/add-edit.tcl 5 Sep 2002 11:04:56 -0000 1.5 +++ openacs-4/packages/notes/www/add-edit.tcl 6 Dec 2002 09:46:52 -0000 1.5.2.1 @@ -7,8 +7,8 @@ @cvs-id $Id$ } { note_id:integer,notnull,optional - {title:html,notnull,optional ""} - {body ""} + {title:trim,notnull,optional ""} + {body:trim ""} } -properties { context:onevalue } @@ -85,4 +85,6 @@ ad_returnredirect "./" } +set title [ad_quotehtml $title] + ad_return_template