Skip to content

Commit 7c0ccb3

Browse files
committed
Fix HTML output in #2568
1 parent 6c771f7 commit 7c0ccb3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

testssl.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23132,9 +23132,11 @@ EOF
2313223132
# Pretty print - again, it's just nicer to read
2313323133
for reason in "${sorted_reasons[@]}"; do
2313423134
if [[ $reason_nr -eq 0 ]]; then
23135-
pr_bold " Grade cap reasons "; out_row_aligned_max_width "$reason\n" ' ' $TERM_WIDTH
23135+
pr_bold " Grade cap reasons "
23136+
outln "$(out_row_aligned_max_width "$reason" " " $TERM_WIDTH)"
2313623137
else
23137-
out_row_aligned_max_width " $reason\n" ' ' $TERM_WIDTH
23138+
outln "$(out_row_aligned_max_width " $reason" " " $TERM_WIDTH)"
23139+
2313823140
fi
2313923141
((reason_nr++))
2314023142
fileout "grade_cap_reason_${reason_nr}" "INFO" "$reason"

0 commit comments

Comments
 (0)