Skip to content

Commit 61122bc

Browse files
committed
fix(formanswer): missing newline between sections of fullform tag
1 parent c45d215 commit 61122bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inc/formanswer.class.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,9 @@ public function getFullForm($richText = false): string {
11001100
// The section is not visible, skip it as well all its questions
11011101
continue;
11021102
}
1103+
if ($last_section !== -1) {
1104+
$output .= ($richText ? '<p>&nbsp;</p>' : $eol);
1105+
}
11031106
if ($richText) {
11041107
$output .= '<h2>' . $question_line['section_name'] . '</h2>';
11051108
} else {

0 commit comments

Comments
 (0)