diff --git a/include/class.forms.php b/include/class.forms.php index 00a885f3ab0f9d6493660141a81f2f8539237cb1..257f4ab9a1958d9269b78ba0e11f1d76d3b0487e 100644 --- a/include/class.forms.php +++ b/include/class.forms.php @@ -601,6 +601,11 @@ class TextareaField extends FormField { else return Format::htmlchars($value); } + + function export($value) { + return (!$value) ? $value : Format::html2text($value); + } + } class PhoneField extends FormField {