Index: openacs-4/packages/acs-templating/tcl/element-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/element-procs.tcl,v diff -u -r1.21.2.1 -r1.21.2.2 --- openacs-4/packages/acs-templating/tcl/element-procs.tcl 24 Nov 2003 23:29:58 -0000 1.21.2.1 +++ openacs-4/packages/acs-templating/tcl/element-procs.tcl 22 Dec 2003 19:57:40 -0000 1.21.2.2 @@ -606,7 +606,7 @@ if { ![string equal $element(mode) "edit"] && [info exists element(display_value)] && ![string equal $element(widget) "hidden"] } { return "$element(before_html) $element(display_value) $element(after_html)" } else { - return "$element(before_html) [template::widget::$element(widget) element $tag_attributes] $element(after_html)" + return "[string trim "$element(before_html) [template::widget::$element(widget) element $tag_attributes] $element(after_html)"]" } }