mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 04:49:44 +01:00
Fix HTML output in #2568
This commit is contained in:
parent
6c771f7902
commit
7c0ccb3da7
@ -23132,9 +23132,11 @@ EOF
|
|||||||
# Pretty print - again, it's just nicer to read
|
# Pretty print - again, it's just nicer to read
|
||||||
for reason in "${sorted_reasons[@]}"; do
|
for reason in "${sorted_reasons[@]}"; do
|
||||||
if [[ $reason_nr -eq 0 ]]; then
|
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
|
else
|
||||||
out_row_aligned_max_width " $reason\n" ' ' $TERM_WIDTH
|
outln "$(out_row_aligned_max_width " $reason" " " $TERM_WIDTH)"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
((reason_nr++))
|
((reason_nr++))
|
||||||
fileout "grade_cap_reason_${reason_nr}" "INFO" "$reason"
|
fileout "grade_cap_reason_${reason_nr}" "INFO" "$reason"
|
||||||
|
Loading…
Reference in New Issue
Block a user