Skip to content

Commit

Permalink
Fix formatting of nested result lists in [p]diagnoseissues (#6238)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Oliveira <[email protected]>
  • Loading branch information
Jackenmen and Flame442 authored Sep 13, 2023
1 parent ef098c8 commit 2157ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/core/_diagnoser.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def _get_message_from_check_result(
if subresult.success
else _("Failed") + " \N{NO ENTRY}\N{VARIATION SELECTOR-16}"
)
lines.append(f"{prefix}{idx}. {subresult.label}: {status}")
lines.append(f"\u200b{prefix}{idx}. {subresult.label}: {status}")
lines.extend(
self._get_message_from_check_result(subresult, prefix=f" {prefix}{idx}.")
)
Expand Down

0 comments on commit 2157ed4

Please sign in to comment.