Index: branches/unlabeled/unlabeled-1.2.4/core/kernel/utility/formatters/formatter.php =================================================================== diff -u -r7377 -r7488 --- branches/unlabeled/unlabeled-1.2.4/core/kernel/utility/formatters/formatter.php (.../formatter.php) (revision 7377) +++ branches/unlabeled/unlabeled-1.2.4/core/kernel/utility/formatters/formatter.php (.../formatter.php) (revision 7488) @@ -18,7 +18,13 @@ { $field_type = $options['type']; $type_ok = preg_match('#int|integer|double|float|real|numeric|string#', $field_type); - if($field_type == 'string') return $value; + if ($field_type == 'string') { + if (!$this->Application->IsAdmin() && isset($options['allow_html']) && $options['allow_html']) { + // this allows to revert htmlspecialchars call for each field submitted on front-end + $value = unhtmlentities($value); + } + return $value; + } static $comma = null; static $thousands = null;