diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 89589a14b..ab4e8198a 100644 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -4201,7 +4201,7 @@ class XmlForm $this->requiredFields [] = array ( 'name' => $field->name, 'type' => $xmlNode [$k]->attributes ['type'], - 'label' => trim ( $field->label ), + 'label' => addslashes(trim ( $field->label )), 'validate' => $validateValue, 'required' => $requiredValue );