diff --git a/inc/form_answer.class.php b/inc/form_answer.class.php index a196ff2ac..43eebf9bd 100644 --- a/inc/form_answer.class.php +++ b/inc/form_answer.class.php @@ -894,7 +894,7 @@ private function transformAnswerValue(PluginFormcreatorQuestion $question, $valu $answer_value = str_replace('\\r\\n', '\n', $answer_value); } } else { - if ($CFG_GLPI['use_rich_text']) { + if (version_compare(PluginFormcreatorCommon::getGlpiVersion(), 9.4) >= 0 || $CFG_GLPI['use_rich_text']) { $answer_value = html_entity_decode($value); } else { $answer_value = $value;