diff --git a/inc/formanswer.class.php b/inc/formanswer.class.php index a64878b75..4152da987 100644 --- a/inc/formanswer.class.php +++ b/inc/formanswer.class.php @@ -1100,6 +1100,9 @@ public function getFullForm($richText = false): string { // The section is not visible, skip it as well all its questions continue; } + if ($last_section !== -1) { + $output .= ($richText ? '
' : $eol); + } if ($richText) { $output .= '