Skip to content

Commit

Permalink
Fix HTML output in #2568
Browse files Browse the repository at this point in the history
  • Loading branch information
drwetter committed Oct 14, 2024
1 parent 6c771f7 commit 7c0ccb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23132,9 +23132,11 @@ EOF
# Pretty print - again, it's just nicer to read
for reason in "${sorted_reasons[@]}"; do
if [[ $reason_nr -eq 0 ]]; then
pr_bold " Grade cap reasons "; out_row_aligned_max_width "$reason\n" ' ' $TERM_WIDTH
pr_bold " Grade cap reasons "
outln "$(out_row_aligned_max_width "$reason" " " $TERM_WIDTH)"
else
out_row_aligned_max_width " $reason\n" ' ' $TERM_WIDTH
outln "$(out_row_aligned_max_width " $reason" " " $TERM_WIDTH)"

fi
((reason_nr++))
fileout "grade_cap_reason_${reason_nr}" "INFO" "$reason"
Expand Down

0 comments on commit 7c0ccb3

Please sign in to comment.