mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Ensure ecosystem project errors are properly fenced (#8516)
Fixes bug where errors could be unfenced resulting in hidden remaining content e.g. https://github.com/astral-sh/ruff/pull/8508#issuecomment-1794960132
This commit is contained in:
parent
5e2bb8ca07
commit
311a7751f9
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ def markdown_check_result(result: Result) -> str:
|
|||
lines.extend(
|
||||
markdown_project_section(
|
||||
title="error",
|
||||
content=f"```\n{error}```",
|
||||
content=f"```\n{str(error).strip()}\n```",
|
||||
options=project.check_options,
|
||||
project=project,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue