FINALLY the problem where special characters like © being turned into (c) has been fixed. Also you can now use HTML such as forms in text areas safely.

This commit is contained in:
JT Smith 2002-11-23 16:21:06 +00:00
parent b9e482cf72
commit 0624b0c50c
3 changed files with 16 additions and 13 deletions

View file

@ -12,6 +12,7 @@ package WebGUI::Wobject::MailForm;
use strict;
use Tie::CPHash;
use WebGUI::Form;
use WebGUI::HTMLForm;
use WebGUI::Icon;
use WebGUI::International;
@ -412,7 +413,7 @@ sub _fieldAdminIcons {
sub _textSelectRow {
my ($self, $textName, $textLabel, $textValue, $textMaxLength, $selectName, $selectOptions, $selectValue) = @_;
my $output;
$textValue = WebGUI::HTMLForm::_fixQuotes($textValue);
$textValue = WebGUI::Form::_fixQuotes($textValue);
my $textSize = $session{setting}{textBoxSize};
$output = '<input type="text" name="'.$textName.'" value="'.$textValue.'" size="'.
$textSize.'" maxlength="'.$textMaxLength.'">';