fixed some hidden form tag problems

This commit is contained in:
JT Smith 2004-09-23 18:27:00 +00:00
parent 8aac2a1faa
commit 4e7d863b8f
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,8 @@
to static files.
- Added a warning to the Passive Profiling feature that it may be illegal to
use that feature in some countries.
- Fixed a problem where hidden form tags were not escaping macros properly.
- Fixed an XHTML problem with hidden form tags.
6.2.4

View file

@ -858,7 +858,7 @@ The default value for this form element.
=cut
sub hidden {
return '<input type="hidden" name="'.$_[0]->{name}.'" value="'._fixQuotes(_fixSpecialCharacters($_[0]->{value})).'">'."\n";
return '<input type="hidden" name="'.$_[0]->{name}.'" value="'._fixQuotes(_fixMacros(_fixSpecialCharacters($_[0]->{value}))).'" />'."\n";
}