Skip to content

Commit

Permalink
fix(formanswer): missing newline between sections of fullform tag
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 2, 2023
1 parent c45d215 commit 61122bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? '<p>&nbsp;</p>' : $eol);
}
if ($richText) {
$output .= '<h2>' . $question_line['section_name'] . '</h2>';
} else {
Expand Down

0 comments on commit 61122bc

Please sign in to comment.