From 24d7a586d33a5561b44ae0cfef07afb649b6fcbc Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 24 Nov 2003 14:29:01 +0000 Subject: [PATCH] fix html quoting problems --- httemplate/edit/part_export.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index cc60f1aeb..4d0c7391f 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -68,9 +68,10 @@ my $widget = new HTML::Widgets::SelectLayers( $html .= ''; } elsif ( $type eq 'textarea' ) { $html .= qq!!; + encode_entities($value). ''; } elsif ( $type eq 'text' ) { - $html .= qq!!; + $html .= qq!'; } elsif ( $type eq 'checkbox' ) { $html .= qq!