From 979fa6875e1871377e02db3b2a72ed4c6aa36de9 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 24 Nov 2003 14:29:02 +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!